Skip to content

RuanPetrus/sudoku-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUDOKU GENERATOR AND SOLVER

How to run

Program was made using python 3.10.6

The program can solve a sudoku game. Need to pass the path to the input file and the base of the game. Run the follow:

python main.py sol <input_file> <base>

EX:

python main.py sol example_board.txt 3

The program can generate a solvable board, need to pass the base of the game and the number of empty squares. Run the follow:

python main.py gen <base> <number_of_empty_squares>

EX:

python main.py gen 3 20

The program can generate a solvable board and solved, need to pass the base of the game and the number of empty squares. Run the follow:

python main.py genAndSol <base> <number_of_empty_squares>

EX:

python main.py genAndSol 3 20

References

About

Sudoku solver and generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages