alexr_rwx: (giant hair with cubism and sepia)
[personal profile] alexr_rwx
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.

Date: 2008-08-18 08:23 pm (UTC)
From: [identity profile] billings.livejournal.com
"Fun" is "hard, but not too hard." So it's really more about evaluating difficulty, I'd think.

Profile

alexr_rwx: (Default)
Alex R

May 2022

S M T W T F S
1234 567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 18th, 2025 11:29 am
Powered by Dreamwidth Studios