Ads by Google
Christian Borgelt's Web Pages

Sudoku Solver

Download

sudoku (21 kb) GNU/Linux executable
sudoku.exe (140 kb) Windows console executable
sudoku.zip (10 kb) C sources, version 1.6 (2014.10.24)
sudoku.tar.gz (8 kb)
example.sdk (1 kb) example Sudoku puzzle

Description

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 for Visual Studio 2022 (see under "Other Tools and Frameworks") installed, as the program was compiled with Microsoft Visual Studio 2022.