This is a simple Sudoku Solver implemented in Python with a graphical user interface (GUI) using the Tkinter library. The Sudoku Solver allows you to input a Sudoku puzzle and then solves it using a backtracking algorithm. You can visualize the solution step by step on the GUI.
- Interactive GUI: The Sudoku Solver features a user-friendly interface built with Tkinter, allowing you to input Sudoku puzzles and visualize the solution.
- Backtracking Algorithm: The Sudoku Solver uses a backtracking algorithm to find the solution to the input puzzle.
- Step-by-Step Solution: You can click the "Solve" button to start solving the Sudoku puzzle step by step, and observe how the solver fills in the cells.
- Make sure you have Python installed on your system.
- Clone this repository or download the
sudoku_solver.py
file. - Open a terminal or command prompt and navigate to the directory containing
sudoku_solver.py
. - Run the command
python sudoku_solver.py
. - The Sudoku Solver GUI window will open, allowing you to input Sudoku puzzles and visualize the solution.
- When the Sudoku Solver GUI window opens, you'll see a 9x9 grid representing the Sudoku puzzle.
- enter value row by row in terminal ,empty space is denote by '0'.
- After entering the puzzle, click the "Solve" button to start solving the Sudoku puzzle.
- You can observe how the solver fills in the cells step by step. Once the puzzle is solved, you'll see the complete solution on the GUI.
- The Sudoku Solver uses a backtracking algorithm to find the solution to the puzzle. It tries different numbers in each cell and backtracks if it reaches a dead-end.
- You can input any valid Sudoku puzzle into the solver, and it will find the solution if one exists.
- If there are multiple solutions to the puzzle, the solver will find one of them.
- The GUI provides visual feedback on the solution process, making it easy to understand how the solver works.
Enjoy using the Sudoku Solver GUI!