|
|
@ -315,6 +315,7 @@ void generateSudoku(int grid[SIZE][SIZE], int difficulty, int level) { |
|
|
|
} |
|
|
|
|
|
|
|
void turnFunction(int grid[SIZE][SIZE]) { |
|
|
|
while (1) { |
|
|
|
printf("\nTurn function - Choose an action:\n"); |
|
|
|
printf("1. Tip function\n"); |
|
|
|
printf("2. Input function\n"); |
|
|
@ -358,6 +359,8 @@ void turnFunction(int grid[SIZE][SIZE]) { |
|
|
|
printf("Invalid input. Please enter a number between 1 and 6.\n"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void tipFunction(int grid[SIZE][SIZE]) { |
|
|
|