Term Project for CMU 15-112
This is a Python project that allows users to interactively play the game Sudoku. The Sudoku puzzle is a popular logic game consisting of a 9x9 grid of cells. The goal of the game is to fill in the grid with digits from 1 to 9, so that each row, column, and block contains all digits from 1 to 9 without any repetition.
- Python 3.x
cmu_graphics
package
To start the game, run the main.py
file in an editor.
- 'a': highlight all singletons
- 's': set all singletons
- 'q': hint 2 level 1
- 'w': hint 2 level 2
- 'u': undo
- 'r': redo
- 'space': switch on/off auto candidate mode
- 'up' / 'down' / 'left' / 'right': select cell on board
- 1~9: select number
- https://www.cs.cmu.edu/~112-3/notes/tp-sudoku-hints.html
- New York Times Sudoku: https://www.nytimes.com/puzzles/sudoku