/Sudoku-Generator-and-Solver

1️⃣ 2️⃣ 3️⃣ A GUI program which is written in Python using the backtracking algorithm to generate sudokus and solve them!! 🥽🥽

Primary LanguagePythonMIT LicenseMIT

Sudoku-Generator-and-Solver

A GUI program written in Pygame using backtracking algorithm to generate sudokus and solve them. Here 3 algorithms have been used to generate random sudokus, play it manually and solve it automatically. You can follow the Tutorials folder to learn about the algorithms specifically step by step. If you are not interested in learning, then you can just go through this following steps:

How to use

  • Download Python in your device.
  • Download the Zip file.
  • Extract the zip file.
  • Download pygame in your device by writing pip download pygame in the command prompt. details can be found in Pygame website.
  • Open the sudoku_GUI.py file with Python Shell.
  • Play the game and enjoy.

Features

  • Graphical User Interface with pygame.
  • Smooth Sound and Musics.
  • Failure Count meter.
  • Minimal design.
  • Mouse + KeyBoard based input system.
  • Ingame Timer.
  • Several bug fixes.
  • Specific Tutorials.
  • Automatic Sudoku Solver.

How to play

  • Select each cubes by hovering the mouse and cicking on it.
  • Press on the probable values (1-9) of that cube.
  • Press Enter if you are 100% sure of the value.
  • If you cant find any probable value, press SpaceBar (cheat),
  • it will then automatically find the perfect value for that selected cube

License

Details can be found in LICENSE