Skip to content

This Sudoku game is a simple game using python only. In order to run this code on your IDE , need to download and import pygame module.

Notifications You must be signed in to change notification settings

Fairooz14/Project_Sudoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project_Sudoku

This a simple Sudoku game project using the Pygame module of Python.

Banner

Rules of the game

  • Every single square has 9 possibilities. 9x9 = 81 squares with 9 possibilities. The different possible combination of the solution is 981.
  • When starting the Sudoku puzzle, a player will be provided with random numbers in random cells. The objective is to fill the empty cells with only one number from 1 to 9 in the given time.
  • The number must only occur in a column once.
  • The number must only occur in a row once.
  • The number must occur in a sub-grid only once.

Algorithm

Validation check: carbon

Backtracking: carbon (1)

Limitations

There are some limitations to this project.

  • The Filled numbers of the game can be changed. If it changes by the player then the solution will not generate correctly and it shows Wrong! Wong
  • There is no level of this game. Players must play that one game.
  • Though it has a visualizing function. The time of visualization of this game cannot be controlled by the player.
  • There is a time limitation to solve the puzzle.
    Timer_limit

P.S: The Color Palette of the code does not match with the color variable name :|

About

This Sudoku game is a simple game using python only. In order to run this code on your IDE , need to download and import pygame module.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages