This project contains both a Sudoku solver and generator for your use.
It is very easy to use:
SOLVING
In order to solve a sudoku, it is as simple as typing "solve". For custom sudokus, you can enter them in either the userInput.txt file, or the user input puzzle on the main sudoku.cs file.
If you enter something into the userInput.txt file, remember to type 'yes' on userInput.txt line 2.
GENERATING
In order to generate a sudoku, type "generate". Once you press enter, two options will appear:
- "all at once" will allow you to enter a 9x9 matrix at one time.
- "one at a time" will prompt you to enter a single value at a time.
After you have entered the matrix, two more options will appear:
- "code" will output into the copy-pastable form for the main file's user input.
- "matrix" will output into a 9x9 square of numbers.