/SudokuGame

A Sudoku game created with pygame

Primary LanguagePythonMIT LicenseMIT

SudokuGame

Sudoku is a logic-based, combinatorial number-placement puzzle. In classic sudoku, the objective is to fill a 9 × 9 grid with digits so that each column, each row, and each of the nine 3 × 3 subgrids that compose the grid contain all of the digits from 1 to 9. The puzzle setter provides a partially completed grid, which for a well-posed puzzle has a single solution.

Rules of Sudoku

  1. You can only use numbers 1-9.
  2. Numbers cannot be used more than once in a single row/column/3x3.

How to navigate main menu & start a new game

  • Choose a difficulty with the left and right arrows.
  • Click "New Game" to start a Sudoku game with that difficulty.

main-menu

How to play the game

  • Click on an open tile and add a number using your keyboard.
  • To go back, click the back button.
  • If you want a fresh restart, click the restart button.
  • Too lazy? Click the auto-solve button!

Screen-board

Themes you can choose from!

Screen-Theme

Usage

pip3 install -r requirements.txt
python3 sudoku_game.py 

Development

Want to contribute or reivew my code? Great! I'm always looking for way to improve my code!

License

MIT License

Have Fun!