Sudoku Agent
A simple sudoku solver.
Sudoku Agent
Design Choices
- 0 or -1 or None for empty cell
- cuz string can use 0
To-Do
- Fill matrix with list of possible numbers.
- All solutions.
- Print a before and print after.
- Use smart guesses for backtracking.
- Clicking screen with
pyautogui
orwinapi
. - Parse string sudoku boards.
- Clean printing:
- Sudoku Solver
- ========
- Puzzle (puzzle name) From (website or source):
- print puzzle
- initial: completed cells 17 / 81. candidates to remove.
- Solved with logic:
- logic time took
- methods
- simple elimination: 100
- =========
- Convet string to matrix format.
- Try next method if this one has results / go back to previous method if one yields reults.
- Logging.
- Add error handling of the solving.
- Houses?
- Range2?
- Pencilling?
- Do confirmation and modifcation of board before solving.
- Add argeparse.
- Add a gui?
- Use flask/django/fastapi?
This post is licensed under CC BY 4.0 by the author.