This program use Backtracking algorithm to brute force the solution for a given Sudoku.
To use it go to realease and download the last version for your OS. Open a terminal in the folder where the file is located.
You can either launch it and give the path to the input file when asked or give the path as an argument.
0 0 0 0 0 0 0 0 0
0 0 0 0 0 3 0 8 5
0 0 1 0 2 0 0 0 0
0 0 0 5 0 7 0 0 0
0 0 4 0 0 0 1 0 0
0 9 0 0 0 0 0 0 0
5 0 0 0 0 0 0 7 3
0 0 2 0 1 0 0 0 0
0 0 0 0 4 0 0 0 9
For a sudoku like this this :
βββββββββββ¦ββββββββββ¦ββββββββββ
β _ _ _ β _ _ _ β _ _ _ β
β _ _ _ β _ _ 3 β _ 8 5 β
β _ _ 1 β _ 2 _ β _ _ _ β
β ββββββββββ¬ββββββββββ¬ββββββββββ£
β _ _ _ β 5 _ 7 β _ _ _ β
β _ _ 4 β _ _ _ β 1 _ _ β
β _ 9 _ β _ _ _ β _ _ _ β
β ββββββββββ¬ββββββββββ¬ββββββββββ£
β 5 _ _ β _ _ _ β _ 7 3 β
β _ _ 2 β _ 1 _ β _ _ _ β
β _ _ _ β _ 4 _ β _ _ 9 β
βββββββββββ©ββββββββββ©ββββββββββ
You need to have Go installed !
go build .