Skip to content

About

A sudoku generator that generates a puzzle with exactly one solution based on the chosen difficulty level

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unique Sudoku Generator

A feature-rich, interactive Sudoku puzzle game built with Python and Pygame. This game provides an engaging sudoku experience with multiple difficulty levels, timer functionality, pause/resume capability, and various user-friendly features.

Video Demo:

How it works

  1. Running the code will open a sudoku welcome screen
Screenshot 2025-04-05 at 3 39 17 PM

  1. Enter user name and chose difficulty level
Screenshot 2025-04-05 at 3 42 04 PM Screenshot 2025-04-05 at 3 42 25 PM

  1. A sudoku question grid of respective difficulty will open up
Screenshot 2025-04-05 at 3 44 48 PM

Project Overview

Screenshot 2025-07-12 at 12 20 23 PM

Further Functionalities:

  • You can enter any number from 1-9 in the empty squares.
  • Any other key and the number 0 are not recognised as valid inputs.
  • Pressing the space bar will Pause the game.
  • Pressing the space bar again will Resume the game.
  • Pressing the 'D' key will delete all user solutions and allow user to retry solving the sudoku.
  • Pressing the 'A' key will reveal answers. After pressing the A key however, you cannot go back to your solutions. If someone wishes to see the answers, the only way to attempt the same sudoku again is by pressing the 'D' key.
  • Pressing the 'R' key will reload the sudoku grid to display a new sudoku. The timer at the top of the sudoku screen is also restarted.
  • Pressing the 'Enter' key will either display a Congratulatory message on solving correctly, or display a Try Again message that closes on its own in 10 seconds.
  • Pressing the 'Backspace' or 'Delete' key will allow user to clear currently selected cell, (as long as the currently selected cell is NOT a clue cell)

About

A sudoku generator that generates a puzzle with exactly one solution based on the chosen difficulty level

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages