GithubHelp home page GithubHelp logo

david-elkabas / sudoku Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 5.0 822 KB

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

Python 100.00%
python game pygame sudoku sudoku-solver sudoku-generator sudoku-puzzle python-sudoku pygame-gui

sudoku's Introduction

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

sudoku's People

Contributors

david-elkabas avatar tayyabkhalil-313 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.