Ads by Google
Christian Borgelt's Web Pages

Sudoku Solver


32 bit 64 bit (32/64 bit only for executable)
sudoku (17 kb) sudoku (22 kb) GNU/Linux executable
sudoku.exe (112 kb) sudoku.exe (130 kb) Windows console executable (10 kb) sudoku.tar.gz (8 kb) C sources, version 1.6 (2014.10.24)
example.sdk (1 kb) example Sudoku puzzle


Sudoku is a simple command line solver for Sudoku puzzles. It can report the steps leading to a solution (how field by field is filled in), together with a justification for the digit set in each field.

If the solution needs backtracking, this solver finds a way to solve the puzzle that needs the least backtracking depth. If there are multiple solutions, it can be requested to list them all.

Call the program with no arguments to see a list of options.

If you have trouble executing the program on Microsoft Windows, check whether you have the Microsoft Visual C++ Redistributable Packages for Visual Studio 2015 installed, as the library was compiled with Microsoft Visual Studio 2015.