diff --git a/build/test/out/c/casualQuiz.o b/build/test/out/c/casualQuiz.o index 20bdd9f..5233f2a 100644 Binary files a/build/test/out/c/casualQuiz.o and b/build/test/out/c/casualQuiz.o differ diff --git a/build/test/out/test_casualQuiz.out b/build/test/out/test_casualQuiz.out index 82e74bf..b780d50 100755 Binary files a/build/test/out/test_casualQuiz.out and b/build/test/out/test_casualQuiz.out differ diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index 44a3e59..41ece2d 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -61,4 +61,4 @@ - Right Answer, well done. - Wrong Input! - Wrong Input! -:time: 0.0355944000184536 +:time: 0.033914499974343926 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index e9adfd5..72fae41 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.014935399987734854 +:time: 0.01536559994565323 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index c1e676a..29b184c 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.017270599957555532 +:time: 0.014166200009640306 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index b0d898e..5d9eb39 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.015941800025757402 +:time: 0.015359200013335794 diff --git a/src/casualQuiz.c b/src/casualQuiz.c index f03c10a..c27a477 100644 --- a/src/casualQuiz.c +++ b/src/casualQuiz.c @@ -38,6 +38,18 @@ void casualQuiz() { printf("bei: %d beantworteten Fragen", answered); correct = 0; answered = 0; + if (already_played == true) { + int sure; + printf("Would you like to play again?\n"); + printf("Input 1 to continue Gaming, input 0 to return to the main menu: "); + scanf_s("%d", &sure); + + if (sure == 1) printf("Starting the program up again..."); + else { + printf("Input not '1', returning to main menu..."); + end = true; + } + } } return; }