CSudoku 1.0 review

Download
by rbytes.net on

CSudoku is a command line Sudoku solving program

License: GPL (GNU General Public License)
File size: 25K
Developer: Dwayne Crooks
0 stars award from rbytes.net

CSudoku is a command line Sudoku solving program. CSudoku project solves the popular 9x9 versions of Sudoku using Donald Knuth's Dancing Links algorithm.

It was created as a fun exercise in computer programming and not necessarily to be a program useful to anyone in particular.

There are many other Sudoku solving programs that are more refined and have many more features than this program would ever dream of having.

Installation:

1. unpack csudoku-1.0.tar.gz
2. cd csudoku-1.0/src
3. run make

Usage:

To run the sudoku program you will first need to install it using the steps as outlined above. Now, assuming you are in the directory csduoku-1.0/src, invoke the command:

./sudoku < infile

where infile is an input file containing 1 or more 9x9 Sudokus. For the format of the infile you can check out the file top95. In fact you can use the top95 file to test the program. By invoking the command:

./sudoku < ../top95

you should see some input and output details and at the end under "Overall Statistics" it should read

...
95 out of 95 were valid
0 has no solution(s)
95 had unique solution(s)
0 had multiple solution(s)
...

If this was done successfully you can now use the program to solve whatever Sudoku puzzle is giving you trouble. Enjoy!

CSudoku 1.0 keywords