Skip to content

Recreation of popular SUDOKU puzzle with python (pygame). Helpful in visualising how backtrack works in real life. Always FUN to play.

Notifications You must be signed in to change notification settings

ShubhAgarwal566/Sudoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUDOKU

Note: The base code for this project is taken from here.

New Features

  • Added feature which solves puzzle in realtime (good visualization of backtrack)
  • Added feature for Rough Work
  • Added feature for comparision (Compare current values against solution)
  • Autochecks the puzzle on completion
  • Added support for python3
  • Support for Keypad/Numberpad added
  • Boundary color of selected cell changes according to input (Reg, Green, Blue)
  • Keyboard shotcuts added
    • Enter/P to start
    • Esc to exit
    • E for Easy
    • M for Medium
    • H for Hard
    • R to enable Rough Work
    • S to Solve
    • C to Compare with Solution
    • Arrow keys to Navigate
    • Backspace to go back
    • R or Backspace to restart game

Requirements

  • Python 2.7.x or Python 3.6.x
  • Pygame 1.9.6 (pip install pygame==1.9.6)
  • Only tested on Ubuntu 18.04

How to run

git clone https://github.com/ShubhAgarwal566/Sudoku.git

cd Sudoku/

python main.py

About

Recreation of popular SUDOKU puzzle with python (pygame). Helpful in visualising how backtrack works in real life. Always FUN to play.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages