Interactive Python Sudoku game with GUI - Generate, play, and solve Sudoku puzzles!
SUDOKU-PY is a Python-based Sudoku game that includes:
- Puzzle Generator - Creates valid Sudoku puzzles with varying difficulty
- Terminal versions - Command-line puzzle generation for quick testing
sudoku.py- Generates completed Sudoku grids (tabulate format)board.py- Alternative generator with fancy grid displaygenerate-sudoku.py- Basic ASCII grid generator
- Python 3.7 or higher
tkinter(usually comes with Python)tabulatelibrary (for terminal versions)
- Clone the repository:
git clone https://github.com/yourusername/py-sudoku.git
cd py-sudoku- Create a virtual environment (recommended):
python3 -m venv sudoku
source sudoku/bin/activate - Install dependencies:
pip install -r requirements.txtTerminal Versions:
python sudoku.py # Pretty table format
python board.py # Fancy grid format
python generate-sudoku.py # ASCII grid format