Skip to content

amoor22/sudoku-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚨About this repo🚨

Language:

Python python_logo

This repository includes a Sudoku solver in both text and GUI form. The solver implements a backtracking algorithm to solve the board.

How to use:

Text version

  1. Run the following command: python "sudoku_solver_text.py"
  2. Enter a number between 1 and 3 to determine difficulty

GUI version

  1. Run the following command: python "sudoku_solver_GUI.py"
  2. Enter a number between 1 and 3 to determine difficulty
  3. To choose a cell to edit, either click on it or use the arrow keys to move from one cell to the other
  4. To temporarly place a number click on a number from 1 - 9
  5. To lock in the number choose the cell and click Enter
  6. To remove a number from a cell after being locked in simply click Backspace
  7. The game will automatically check if the board has been solved
  8. Finally to let the A.I. solve the entire board using backtracking click Space

Screenshots:

screenshot_1


screenshot_2

About

A sudoku solver in both text and GUI format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages