Sudoku in C
Sudoku in C
C-Sudoku is a program written in C programming language.
It was created in continuation of another fun project the
C-Sudoku generates sudoku riddles, in four levels of difficulty.
You can solve these riddles in CLI(command-line interface).
From a simple menu, the user can :
-
Play the game,
-
See the solution of the game,
-
Save the riddle in a simple txt file so that it can be printed,
-
Generate a new riddle.
2
comments
You have an off by one bug, the format of the commands says “0-9/0-9/0-9” but your columns and rows are labelled 1-9, you either need to zero index your board or 1 index the commands you give.
0ReplyYup you are right, I fixed it.
The third 0-9 remains however, you can put 0 value to a square when you want to erase an error.
1Reply