Skip to content

An interactive Sudoku game with real-time solving and backtracking visualization using Python and Pygame

Notifications You must be signed in to change notification settings

AminRezaeeyan/Sudoku-Master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Master

Project Demo

demo of project

Description

Sudoku Master is an interactive Sudoku game written in Python using Pygame. Users can play randomly generated Sudoku puzzles that are guaranteed to be solvable. The game features an algorithm to create these puzzles and allows users to see the computer solve the Sudoku using backtracking, with a visualization of the process.

Features

  • Random Sudoku Generation: Generates solvable Sudoku puzzles.
  • Interactive Gameplay: Users can play using their keyboard and mouse.
  • Auto-Solve: Press the Space key to watch the computer solve the puzzle.
  • Custom Sudoku Input: Press the B key to clear the board and input your own Sudoku puzzle.
  • Visual Backtracking: Visualizes the backtracking algorithm during auto-solving.
  • Customizable Settings: Modify settings.py inside the src folder to change fonts, window size, and UI elements.
  • Animations: Includes smooth animations for a better user experience.

Installation

  1. Clone the repository:
    git clone https://github.com/AminRezaeeyan/Sudoku-Master.git
    cd Sudoku-Master
    
  2. Install the required dependencies:
    pip install -r requirements.txt
    
  3. Run the game:
    python src/main.py
    

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

About

An interactive Sudoku game with real-time solving and backtracking visualization using Python and Pygame

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages