@ -11,4 +11,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.01736479999999574
:time: 0.016698599999926955
@ -15,4 +15,4 @@
:time: 0.03556579999985843
:time: 0.03333500000007916
:time: 0.01705069999979969
:time: 0.016289200000301207
:time: 0.01840379999975994
:time: 0.01632770000014716
@ -38,6 +38,14 @@ int spieleKategorie(Kategorie* kategorie) {
printf("\nDo you want to use the joker? (Y/N): ");
scanf("%s", 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: ");