Skip to content

πŸ”’ γƒŠγƒ³γƒ—γƒ¬Γ—γƒγƒƒγ‚―γƒˆγƒ©γƒƒγ‚­γƒ³γ‚° A classic Sudoku game implementation in Python using the Pygame library that can play a backtracking animation.

License

Notifications You must be signed in to change notification settings

KORINZ/sudoku-backtracking-animation

Repository files navigation

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.

About

πŸ”’ γƒŠγƒ³γƒ—γƒ¬Γ—γƒγƒƒγ‚―γƒˆγƒ©γƒƒγ‚­γƒ³γ‚° A classic Sudoku game implementation in Python using the Pygame library that can play a backtracking animation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages