Wednesday, April 19th, 2006

Porting Spring Sudoku to Ajax

Category: Games, Java

Glen Smith explains how easy it was to refactor his Java-Spring Sudoku solver to use Ajax.

I’ve added Ajax goodness to my little Spring-powered Sudoku solver. And it was a total snack. You can double click on individual cells to solve just that square, or use the “Solve” button to solve the whole puzzle. You could probably write a better one entirely in Javascript (other people have), but it does serve as a great example of using Spring IoC, AOP, ORM, and Unit testing support … Check it out (source available here soon).

Posted by Michael Mahemoff at 8:24 am
5 Comments

+++--
3.4 rating from 17 votes

5 Comments »

Comments feed TrackBack URI

[…] Il fallait que ça arrive… une version de Sudoku avec la technologie Ajax. (via Ajxian) […]

Pingback by untereiner.com » Blog Archive » sudoku kezako? — April 19, 2006

I’m not 100% convinced that sudoku solver is correct. Take the following solution I generated by hitting Get A Puzzle then Solve:

Not convinced it’s adhering to the “digits must be unique in each row, cell and column” rule — and if it’s not adhering to *that*, which is almost the only rule of Sudoku, how can one call it a Sudoku solver?

Comment by Chris Purcell — April 20, 2006

Ah, the image tag was stripped, despite being preserved in the Preview. Anyway, the image is at http://www.srcf.ucam.org/~cjp39/sudoku-broken.gif

Comment by Chris Purcell — April 20, 2006

[…] Il fallait que ça arrive… une version de Sudoku avec la technologie Ajax. (via Ajaxian) […]

Pingback by untereiner.com » Blog Archive » sudoku kezako? — July 6, 2006

hmm.. Spring powered sudoku.. I guess you must be using Java then.. well I wrote a Sudoku solver in php.. It is hosed at http://www.sudoku-solver.net .. I wish I had used cakephp..

Comment by codeshepherd — March 19, 2008

Leave a comment

You must be logged in to post a comment.