Solving sudoku puzzles with perl
Solving sudoku puzzles manually is quite a boring thing to do IMHO. Now writing a working solution to all 9×9 sudoku puzzles is pure fun! I wrote this script a while ago, it was a fun way to learn perl. Yes it was my very first contact with perl, so do not bash!
I wrapped it into a a minimalist CGI interface, simple insert an url like this one in your browser and you’ll get the solution to your puzzle.
you can use zeros instead of dots if you preffer, both will work. In order to improve readability, vertical bars can be used as they will be ignored by the solving script. So you can use an url like this intead:
Feel free to look at or download the source code:
http://lamehacks.com/sudoku/sudoku.txt
Tags: cgi, perl, programming, sudoku
May 30th, 2010 at 08:05
[...] lame sudoku solving script can now be use in a more intuitive way through an html form. I kept it retro-compatible so the old [...]