Play Sudoku from your convenience of your personal laptop – anytime, anywhere!
You can solve puzzles ranging in difficulty (easy, medium, hard, evil). If you run out, you can upload your own puzzle in .txt format to the tp-starter-files folder or even create a custom board – the app will generate a solution for you!
The game can generate hints for you if you get stuck, and it can help show which values in a cell are legal and make your own notes to add or ban legals as you so wish.
By default, the game will alert you with red font (this can be changed in preferences!) if you input the incorrect value in the board or attempt to ban the cell's correct value from the cell's legals. In contest mode, however, making such mistakes will cause the game to end!
You can play by running the main.py file.
You can see a list of the shortcut commands if you press the guide button with your mouse or the g button on your keyboard.
Board drawing functions adapted from exercises in Animations With 2D Lists (5.3).
Backtracking code (solveSudoku) adapted from solveMiniSudoku (8.11) and isLegalSudoku (4.5).
Code for readFile, writeFile, random.choice, app.getTextInput functions adapted from Term Project Guide.
Preloaded Sudoku files from Term Project Guide.
Term Project Guide: https://www.cs.cmu.edu/~112-3/notes/term-project.html