Skip to content

RudraPatel2003/Sudoku_Solver_GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Sudoku Solver GUI

Solve a sudoku board or launch a GUI to play Sudoku and watch the Sudoku backtracking algorithm in action!

Sudoku_Video.mp4

🔨 Installation and Usage

1. Clone the repository

git clone https://github.com/RudraPatel2003/Sudoku_Solver_GUI.git

2. Change the working directory

cd Sudoku_Solver_GUI

3. Install dependencies

Windows:

py -m pip install -r requirements.txt

Unix/macOS:

python -m pip install -r requirements.txt

Sudoku_Solver.py

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.

main.py

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:

  1. Type in a number to mark a guess
  2. Press ENTER or RETURN to lock in a guess
  3. 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.

🤝 Contributing

Pull requests are welcome.

📖 License

MIT

About

Play Sudoku on a pygame window and watch the Sudoku backtracking algorithm in action

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages