|
@ -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"); |
|
|