Skip to content

Sudoku generator and solver with simple GUI created in Python using Pygame

Notifications You must be signed in to change notification settings

David-Elkabas/Sudoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku

Sudoku generator and solver with simple GUI created in Python using PyGame.

🎯 about

simple mini project to enhance your Python skills using the basic of the python language (without OOP).

about the game

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:

👾 Demo

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

🛠️ Requirements:

In order to run the Script, the require Python & PyGame

⚙️ Execution:

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

OR Zip Download the Repository and Extract it's contents.

python GUI.py

OR

python3 GUI.py

Releases

No releases published

Packages

No packages published

Languages