Solve a sudoku board or launch a GUI to play Sudoku and watch the Sudoku backtracking algorithm in action!
Sudoku_Video.mp4
git clone https://github.com/RudraPatel2003/Sudoku_Solver_GUI.git
cd Sudoku_Solver_GUI
Windows:
py -m pip install -r requirements.txt
Unix/macOS:
python -m pip install -r requirements.txt
Type in a Sudoku board into the "sudoku_board" variable. Run the program to be printed the original board and the solved version of the board, if one exists.
Run the program to launch the Sudoku game.
Click on a cell to select it.
All cells that contain numbers when the game is started are uneditable.
If an editable cell is selected, there are 3 options:
- Type in a number to mark a guess
- Press ENTER or RETURN to lock in a guess
- Press DELETE or CLEAR or BACKSPACE to clear a cell of any guesses or locked-in values.
Press SPACEBAR to watch the Sudoku backtracking algorithm solve the board for you.
Pull requests are welcome.