Sudoku generator and solver with simple GUI created in Python using PyGame.
simple mini project to enhance your Python skills using the basic of the python language (without OOP).
in the beginning the player chooses a level of difficulty (easy, normal or hard). Afterwards, the first script generates a random sudoku map according to the chosen level of difficulty and another script solves the sudoku for comparison with the player input after the player submits their answers.
The player can then play sudoku with a simple GUI:
the program contains 4 scrips .
1️⃣ sudokuGenerator - script that generates a 9X9 sudoku board according to the sudoku puzzle rules - using the backtracking algorithm
2️⃣ sudokuSolverAlgo - script that solves the sudoku puzzle - using the backtracking algorithm
3️⃣ chooseLevel - simple script for the level difficulty GUI
4️⃣ GUI - the main script, the player runs this script to play the game
In order to run the Script, the require Python & PyGame
- 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 sudoku_solver file directly in your Terminal using
python GUI.py
OR
python3 GUI.py