Skip to content

Commit

Permalink
added readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Dishant-Tyagi committed Apr 29, 2024
1 parent 136f4bb commit c6b3857
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions GAMES/sudoku_solver/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
##Sudoku Solver GUI

##Overview
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.

##Features
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.

##How to Run
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.

##How to Use
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.
Additional Notes
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!

0 comments on commit c6b3857

Please sign in to comment.