Dec
15
2005

Sudoku + Java + SpringMVC =

Well… an online sudoku solver web app using SpringMVC. Taking our local JUG’s Sudoku Coding Challenge to the next level seemed like a pretty good waste of time to me… so there you go. My solver uses very basic heuristics and has no brute force logic yet. Even so, it’s manage to solve all but the most evil computer generated Sudokus that I’ve thrown at it.

As an aside, if you’re in the market for some web templates for your app, I can really recommend oswd – open source web design as an awesome site to browse. Being the king of the FrankenWebApp I’ve found it invaluable.

About the Author: Glen Smith

6 Comments + Add Comment

  • no source code?

  • Sure, if you’re keen. Drop me a line and I’ll make it happen.

  • I’ve been trying to come up with a good way to solve Sudoku puzzles for a while now, and thought it would be pretty complicated. I’m surprised that the heuristics you described solve most of them, but I’ll take your word for it. Maybe the best solutions are the simplest ones. Anyway, very cool blog entry. Could I get a copy of the code as well? Thanks! Great blog, by the way.

  • Mike,

    I’ve posted the original code solver to http://www.bytecode.com.au/downloads/. Comes with the CJUG harness that runs through a bunch of easy/medium/hard/evil Sudokus. Enjoy.

    Glen.

  • just i need source code for sudoku in core java

  • cool application for springMVC ;)

Leave a comment

Glen Smith

About Glen

Co-author Grails in Action