This should be simple console Sudoku solver. In development now.
- Field pretty printing.
- Checking for correctness.
- Solving simple (when there is only 1 unknown cell in column, row or square) cells.
- Solving unobvious situations using tree-solution.
- Examples
- python3.5 required
You should create your field 9x9 size with zeros instead of unknown elements. Then import sudoku class, create instance and set your field like this:
import Sudoku
sudoku = Sudoku()
field = [[....]] # create your field here
sudoku.fill_field(field)
Solve your sudoku like this:
from solver import solve
solve(sudoku)