Sudoku Solver with visual cues
An attempt to visually depict logic for solving a Sudoku game. Why this was written is explained in this blog post here
Setup the Sudoku Game
To solve a Sudoku Game which you have, provide a 2 dimensional (9x9) array.
For all the
known values, set the value to the number (1 to 9). For all the unknown
values set the value to zero (0).
Example : For this sample puzzle the initial values would be : [[3,0,6,5,0,8,4,0,0],[5,2,0,0,0,0,0,0,0],[0,8,7,0,0,0,0,3,1],[0,0,3,0,1,0,0,8,0],[9,0,0,8,6,3,0,0,5],[0,5,0,0,9,0,6,0,0],[1,3,0,0,0,0,2,5,0],[0,0,0,0,0,0,0,7,4],[0,0,5,2,0,6,3,0,0]]
Do not have any Sudoku readily available? select any preset from the ones available below.
Presets :