Browse Source

FalscherJokerInput

remotes/origin/Kevin
Kevin Schellberg 11 months ago
parent
commit
49095a1a06
  1. BIN
      build/test/out/c/quizduell.o
  2. BIN
      build/test/out/test_quizduell.out
  3. 2
      build/test/results/test_casualQuiz.pass
  4. 2
      build/test/results/test_quizduell.pass
  5. 2
      build/test/results/test_timequiz.pass
  6. 2
      build/test/results/test_wwm.pass
  7. 9
      src/quizduell.c

BIN
build/test/out/c/quizduell.o

BIN
build/test/out/test_quizduell.out

2
build/test/results/test_casualQuiz.pass

@ -11,4 +11,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0164479999998548
:time: 0.016042600000218954

2
build/test/results/test_quizduell.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.03147380000018529
:time: 0.03114080000023023

2
build/test/results/test_timequiz.pass

@ -11,4 +11,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.016815299999962008
:time: 0.01592659999960233

2
build/test/results/test_wwm.pass

@ -11,4 +11,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.016622499999812135
:time: 0.015713100000084523

9
src/quizduell.c

@ -81,6 +81,15 @@ int spieleKategorie(Kategorie* kategorie) {
printf("No Joker left. Choose a different Category.\n");
}
}
else if (toupper(jokerAntwort[0]) == 'N') {
break; // Beendet die Schleife, wenn der Spieler keinen Joker verwenden möchte
}
else {
printf("Invalid input. Please type in 'Y'' for yes or 'N' for no.\n");
}
}
else {
break; // Wenn der Joker bereits verwendet wurde, beendet die Schleife ohne nachzufragen
}
printf("Your answer: ");

Loading…
Cancel
Save