Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×
Programming

Submission + - Solvin the Knight's Tour puzzle in 60 Python lines (googlepages.com)

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!"
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

Solvin the Knight's Tour puzzle in 60 Python lines

Comments Filter:

"355/113 -- Not the famous irrational number PI, but an incredible simulation!"

Working...