|
YASudoku - Yet Another Sudoku Solver |
YASudoku - Yet Another Sudoku Solver
sudoku file_name
where file_name contains a description of the board
This module can be used to solve sudoku number problems. A file needs to be created with a description of the sudoku problem to solve.
The data file contains a list of square numbers and the values for those squares. The squares on the board are numbered 0 through 80 starting with the top left square and moving across the board to the right. So the top left square is 0, the first square on the second row is number 9, and the last square, bottom right, is number 80.
A typical data file might look something like this:
5 3 6 6 8 2 11 1 12 7 20 6 23 2 26 4 29 5 31 1 34 7 36 8 37 1 43 9 44 5 46 7 49 5 51 2 54 2 57 9 60 3 68 8 69 9 72 6 74 8 75 3
Unsolved squares are not included in the data file.
Andrew Wyllie <wyllie@dilex.net>
Please send any bugs to the author
The Games::YASudoku moudule is free software and can be redistributed and/or modified under the same terms as Perl itself.
|
YASudoku - Yet Another Sudoku Solver |