Skip to content

andrei811/Sudoku-Game-with-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Sudoku-Game-with-Solver

img

You can play sudoku or you can let the computer solve it for you. The algorithm for solving the game uses backtracking technique to fill the blank spaces.

Library instalation

The code execution requires the pygame library. The installation can be performed by running the following command in terminal.

pip install pygame

Execute the game

Open the terminal and make sure that the working directory is Sudoku-Game-with-Solver. Make sure also that you have python installed on the machine. Then execute the following command:

python Sudoku/sudoku_GUI.py

Aditional info

The sudokumatrix.txt stores the sudoku board. The sudoku_text.py file implements the backtracking algorithm for solving the game. The main file, sudoku_GUI.py uses the other files and implements a nice-looking GUI for the game.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages