Stories
Slash Boxes
Comments
typodupeerror delete not in

+-   Solvin the Knight's Tour puzzle in 60 Python lines-> on Sunday November 30 2008, @06:33AM ttsiod

Submitted by ttsiod on Sunday November 30 2008, @06:33AM
programming
ttsiod writes "When I was a kid, I used to play the Knight's Tour puzzle with pen and paper: you simply had to pass once from every square of a chess board, moving like a Knight. Nowadays, I no longer play chess; but somehow I remembered this nice little puzzle and coded a 60-line Python solver that can tackle even 100x100 boards in less than a second. Try beating this, fellow coders!"
Link to Original Source
submission

This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
Slowly and surely the unix crept up on the Nintendo user ...