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.
- 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.
- Clone the repository:
git clone https://github.com/AminRezaeeyan/Sudoku-Master.git cd Sudoku-Master
- Install the required dependencies:
pip install -r requirements.txt
- Run the game:
python src/main.py
Contributions are welcome! Please fork the repository and submit a pull request.