Skip to content

Latest commit

Β 

History

History
35 lines (28 loc) Β· 1.26 KB

README.md

File metadata and controls

35 lines (28 loc) Β· 1.26 KB

Sudoku Game with Backtracking Algorithm Animation

1

This is a classic Sudoku game implementation in Python using the Pygame library. The game offers a graphical interface with a neat design and is compatible with both Japanese and English languages.

Features

  • Classic 9x9 Sudoku grid.
  • User-friendly graphical interface.
  • Language options: Japanese and English.
  • Instructions on how to play.
  • Option to reset, show solution, or play a backtracking animation.

Requirements

  • Python 3
  • Pygame

Installation

  1. Make sure you have Python 3.x and Pygame installed.
  2. Clone or download the repository.
  3. Run the main.py script to start the game.

How to Play

  1. Fill the 9x9 grid with numbers from 1 to 9.

  2. Each column, row, and 3x3 subgrid must contain all the numbers from 1 to 9.

  3. Use the keyboard to enter numbers into the grid.

  4. Use the following keys for additional actions:

    • ESC: Return to the main menu (progress will be saved).
    • D: Remove the current number.
    • SHIFT + R: Reset the game board.
    • SHIFT + B: Play the backtracking animation.
    • SHIFT + S: Show the solution.