|
@ -38,6 +38,14 @@ int spieleKategorie(Kategorie* kategorie) { |
|
|
printf("\nDo you want to use the joker? (Y/N): "); |
|
|
printf("\nDo you want to use the joker? (Y/N): "); |
|
|
scanf("%s", jokerAntwort); |
|
|
scanf("%s", jokerAntwort); |
|
|
printf(jokerAntwort); |
|
|
printf(jokerAntwort); |
|
|
|
|
|
|
|
|
|
|
|
if (toupper(jokerAntwort[0]) == 'Y') { |
|
|
|
|
|
if (kategorie->joker > 0) { |
|
|
|
|
|
kategorie->joker -= 1; |
|
|
|
|
|
jokerVerwendet = 1; |
|
|
|
|
|
printf("Joker inserted! Two incorrect answer options were deleted.\n"); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
printf("Your answer: "); |
|
|
printf("Your answer: "); |
|
|