Skip to content

Latest commit

 

History

History
84 lines (69 loc) · 4.43 KB

README.md

File metadata and controls

84 lines (69 loc) · 4.43 KB

Sudoku Solver: A Fun and Challenging Way to Exercise Your Brain!

  • Are you ready to put your logical thinking and reasoning skills to the test? Look no further than Sudoku Solver, the ultimate tool for solving Sudoku puzzles quickly and easily.

  • Sudoku is a popular number-placement puzzle game that requires players to fill a nine-by-nine grid with digits so that each row, column, and 3x3 section contains numbers between 1 and 9, with each number used once and only once in each section. It's a challenging game that helps improve concentration, memory, and cognitive abilities.

  • With Sudoku Solver, you don't have to spend hours solving puzzles by hand. Our powerful algorithm solves almost any Sudoku puzzle in seconds, allowing you to move on to more challenging puzzles quickly. Plus, our visualizer feature demonstrates how the backtracking algorithm works, so you can understand the logic behind each solution.

Features:

  • Generates a random, solvable Sudoku board every time the script is executed
  • Easy-to-use GUI for inputting and solving puzzles
  • Visualizer feature demonstrates how the backtracking algorithm works
  • Option to receive hints for tricky puzzles
  • Improves cognitive abilities, including concentration and logical thinking

How to Use:

To use Sudoku Solver, simply download the repository and run the SudokuGUI.py file. You'll be presented with a random Sudoku board and a GUI for inputting your solutions. Use the left-click to select the box you want to fill, then enter your value and confirm it by pressing the Enter key.

If you get stuck on a tricky puzzle, press the Spacebar key to solve the board using the backtracking algorithm. You can also receive hints by pressing the "h" key, which will display a random correct value on the board.

Input:

Keys Actions
Left Click Selects the Box to enter a value into that cell.
Enter Confirms the Value written on the board.
Backspace/Delete Deletes the value in that cell.
Space Solves the Board using the Algorithm.
h Gives a Hint. Displays a random correct value on the board.

Requirements:

To run Sudoku Solver, you'll need to have Python and PyGame installed on your system. You can install the necessary requirements using pip:

pip install -r requirements.txt

Execution:

  • Clone this repository using
git clone https://github.com/dhhruv/Sudoku-Solver.git

OR

  • Zip Download the Repository and Extract it's contents.
  • Now run the SudokuGUI file directly in your Terminal using
python SudokuGUI.py

OR

python3 SudokuGUI.py

Conclusion:

If you're a fan of Sudoku puzzles, Sudoku Solver is the perfect tool to help you solve them quickly and easily. With its powerful algorithm and easy-to-use GUI, you'll be solving puzzles in no time. Plus, Sudoku is a great way to exercise your brain and improve your cognitive abilities, making it a fun and challenging game for people of all ages. So what are you waiting for? Download Sudoku Solver today and start playing!

Made with ❤ by Dhruv Panchal