Command line tool that solves sudoku puzzles.
- Clone the repository:
git clone https://github.com/IsaacNorthrop/sudokuv3.git
- Make the program:
make
- Run the program:
./sudoku
- When prompted, enter a valid 81 character numeric sudoku puzzle string, for example:
Enter the puzzle string: 000260701680070090190004500820100040004602900050003028009300074040050036703018000
- Your output is confirmed, and the puzzle is solved:
bash You entered: 000260701680070090190004500820100040004602900050003028009300074040050036703018000 Initial Puzzle: 0 0 0 2 6 0 7 0 1 6 8 0 0 7 0 0 9 0 1 9 0 0 0 4 5 0 0 8 2 0 1 0 0 0 4 0 0 0 4 6 0 2 9 0 0 0 5 0 0 0 3 0 2 8 0 0 9 3 0 0 0 7 4 0 4 0 0 5 0 0 3 6 7 0 3 0 1 8 0 0 0 Solved Puzzle: 4 3 5 2 6 9 7 8 1 6 8 2 5 7 1 4 9 3 1 9 7 8 3 4 5 6 2 8 2 6 1 9 5 3 4 7 3 7 4 6 8 2 9 1 5 9 5 1 7 4 3 6 2 8 5 1 9 3 2 6 8 7 4 2 4 8 9 5 7 1 3 6 7 6 3 4 1 8 2 5 9