The soduku solver is a text based program that, given a sudoku grid inside a txt file, prints the initial grid and the completed grid.
To do so, the program uses a backtracking algorithm with a recursive function.
> python sudoku_solver.py sudoku_grid.txt
The repository includes 2 sudoku grids to test the program:
test_sudoku_1.txttest_sudoku_2.txt
The txt file contains a 9 by 9 sudoku grid where empty squares are 0. The image below shows the formatting of the txt file.
- Backtracking algorithm
- Recursive functions