Browse Source

Commit 14 code

main^2
Lucas Heil 11 months ago
committed by Peter Wiebe
parent
commit
c49af67c6e
  1. 3
      src/main/c/sudoku.c

3
src/main/c/sudoku.c

@ -216,6 +216,7 @@ void generateSudoku(int grid[SIZE][SIZE], int difficulty, int level) {
void turnFunction(int grid[SIZE][SIZE]) { void turnFunction(int grid[SIZE][SIZE]) {
printf("\nTurn function - Choose an action:\n"); printf("\nTurn function - Choose an action:\n");
printf("1. Tip function\n");
int action; int action;
@ -234,7 +235,7 @@ void turnFunction(int grid[SIZE][SIZE]) {
switch (action) { switch (action) {
case 1: case 1:
printf("Case 1.\n");
tipFunction(grid);
break; break;
case 2: case 2:
printf("Case 2.\n"); printf("Case 2.\n");

Loading…
Cancel
Save