Skip to content

acmpesuecc/py-sudoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUDOKU-PY

Interactive Python Sudoku game with GUI - Generate, play, and solve Sudoku puzzles!

What is this?

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

✨ Features

Terminal Versions

  • sudoku.py - Generates completed Sudoku grids (tabulate format)
  • board.py - Alternative generator with fancy grid display
  • generate-sudoku.py - Basic ASCII grid generator

🚀 Quick Start

Prerequisites

  • Python 3.7 or higher
  • tkinter (usually comes with Python)
  • tabulate library (for terminal versions)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/py-sudoku.git
cd py-sudoku
  1. Create a virtual environment (recommended):
python3 -m venv sudoku
source sudoku/bin/activate 
  1. Install dependencies:
pip install -r requirements.txt

Running the app

Terminal Versions:

python sudoku.py        # Pretty table format
python board.py         # Fancy grid format
python generate-sudoku.py  # ASCII grid format

About

Python program to play and generate sudokus

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages