diff --git a/build/test/out/c/quizduell.o b/build/test/out/c/quizduell.o index aa7a443..a79f19b 100644 Binary files a/build/test/out/c/quizduell.o and b/build/test/out/c/quizduell.o differ diff --git a/build/test/out/test_quizduell.out b/build/test/out/test_quizduell.out index 5a5dbe4..0b0021c 100755 Binary files a/build/test/out/test_quizduell.out and b/build/test/out/test_quizduell.out differ diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index 8c08e94..382c5b5 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.01674389999993764 +:time: 0.016213999999990847 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index 6247956..94a75d4 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.0310532000000876 +:time: 0.030860500000017055 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index c0c8f07..d698da0 100644 --- a/build/test/results/test_timequiz.pass +++ b/build/test/results/test_timequiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016417299999829993 +:time: 0.015949500000033368 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index eeb8bdb..93dc407 100644 --- a/build/test/results/test_wwm.pass +++ b/build/test/results/test_wwm.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.017943500000001222 +:time: 0.016731599999957325 diff --git a/src/quizduell.c b/src/quizduell.c index e66b8c7..2f12b1e 100644 --- a/src/quizduell.c +++ b/src/quizduell.c @@ -22,12 +22,15 @@ QuizFrage erstelleFrage(const char* frage, const char* antwortA, const char* ant int spieleKategorie(Kategorie* kategorie) { int punktzahl = 0; + int jokerVerwendet = 0; for (int i = 0; i < kategorie->anzahlFragen; i++) { char benutzerAntwort[10]; printf("\nQuestion %d:\n%s", i + 1, kategorie->fragen[i].frage); + char jokerAntwort[10]; + printf("Your answer: "); scanf("%s", benutzerAntwort);