Welcome to the sudoku solver.:smiley: This is a project that contains a program allowing players to solve any standard 9 by 9 valid sudoku board that they wish. A proper sudoku board contains at least 17 clues and thus has one and only unique solution. In this case, only proper sudoku boards will be considered valid setup board inputs. Finally, upon running and setting up the program, player will be given two choices repeatedly in the next step, solve the puzzle or check the solution, until the player correctly answers the puzzle or gives up and checks the solution.
Python 3 installation is required in your system for the execution of this program. If you don't have it installed, check this installation guidline.
Open your terminal or command line interface at the folder where the script of the program is, and run the following:
python3 sudoku.py
There are two .txt
files called example1.txt
and example2.txt
included. In there, example sudoku board setups are provided, with their solutions included as well. You can input these parameters to setup the program when prompted, and check with the answers prospectively. You are welcome to setup and test any valid 9 by 9 sudoku board of your own.