fast sudoku app, now on the appengine!
Aug. 18th, 2008 02:14 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Been working on this off and on for a few months, but here it is! http://sudokudlx.appspot.com/
It's not that sudoku is particularly earth-shattering (is it still popular?) -- I wrote a fairly naive solver for it a few years ago. What's interesting about this is Knuth's extremely metal constraint-satisfaction algorithm, Dancing Links. It's very, very fast. And I think this implementation of it is clean enough to be reusable, maybe even for other people!
Over on that other blog, there will be a more thorough treatment about the algorithm, how to implement it, and how to apply it to sudoku, probably in a day or two.
It's not that sudoku is particularly earth-shattering (is it still popular?) -- I wrote a fairly naive solver for it a few years ago. What's interesting about this is Knuth's extremely metal constraint-satisfaction algorithm, Dancing Links. It's very, very fast. And I think this implementation of it is clean enough to be reusable, maybe even for other people!
Over on that other blog, there will be a more thorough treatment about the algorithm, how to implement it, and how to apply it to sudoku, probably in a day or two.
no subject
Date: 2008-08-18 06:29 pm (UTC)no subject
Date: 2008-08-18 06:43 pm (UTC)I may not have ever solved a whole sudoku by hand -- any thoughts on what makes a given puzzle more or less fun?
no subject
Date: 2008-08-18 06:51 pm (UTC)no subject
Date: 2008-08-18 08:23 pm (UTC)no subject
Date: 2008-08-18 10:54 pm (UTC)no subject
Date: 2008-08-18 11:33 pm (UTC)no subject
Date: 2008-08-18 06:35 pm (UTC)-LBrewer
no subject
Date: 2008-08-18 06:43 pm (UTC)