A simple visualisation of solving sudoku boards with a backtracking algorithm. Sudoku boards are generated using suGOku API. GUI made in Pygame.
- You can generate a random board and see it solved visually in the GUI
- The actual algorithm is situated in the /src/sudoku package in either the sudoku module or the sudokuboard module, the latter being an OOP approach which I actually recommend over the functional version
- That's it actually, but I may some day add custom sudoku boards and solving them "by hand".
Key | Function |
---|---|
r | Display random board |
esc | Reset the current board |
space | Show solving the board |
/assets
config.json // config file for colours and such
icon.ico
/src
/sudoku
__init__.py
requestsJson.py
sudoku.py // module containing methods solving sudoku
sudokuboard.py // module containing the SudokuBoard object
sudokuexceptions.py
sudokusamples.py // module containing some sample sudoku boards
grid.py
main.pyw // module to run GUI
options.py
screens.py
sudokugrid.py
README.MD
See their individual docstrings for explanations.