A recursive solver for sudoku puzzles written in C.
- Clone the repository
$ git clone https://github.com/garroadran/sudokusolver.git
- CD into the repository directory
$ cd sudokusolver
- Compile the source code using GCC.
$ gcc -Wall sudoku.c -o sudokuSolver
- Execute the compiled application
$ ./sudokuSolver
Specifies a particular puzzle to solve from the grids
file. If this option is not included, a random puzzle will be selected.
Example
$ ./sudokuSolver -n 32
Display a simple help menu.
Including additional puzzles is not yet as simple as simply adding them to the grids
file. The TOTAL_PUZZLE_COUNT
constant in sudoku.c
needs to be updated with the total count of puzzles, and therefore the program will need to be recompiled.