diff --git a/build/test/out/c/casualQuiz.o b/build/test/out/c/casualQuiz.o index ac0153f..9d76450 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 780c348..b7de990 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 08a415a..452050c 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -62,4 +62,4 @@ - Wrong Input! Going to the next question... - Wrong Input! Going to the next question... - It looks like you havent played the program yet, starting it up... -:time: 0.03372880001552403 +:time: 0.035793400020338595 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index 0e6b059..dab5153 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.013811899931170046 +:time: 0.013709699967876077 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index 7526152..8ef0cf4 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.014014000073075294 +:time: 0.013458200031891465 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index f0829e0..a81dbdd 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.01363929989747703 +:time: 0.01383519999217242 diff --git a/src/casualQuiz.c b/src/casualQuiz.c index b050dcb..225f6b8 100644 --- a/src/casualQuiz.c +++ b/src/casualQuiz.c @@ -23,7 +23,12 @@ void casualQuiz() { "If you're skeptical about something, you should 'take it with a grain of' what?", "Something in an obvious location is said to be 'right under your' what?", "When a tree is cut down, the part that remains in the ground is called what?", - "What name is given to the belt machinery in an airport that delivers checked luggage from the plane to baggage reclaim?" + "What name is given to the belt machinery in an airport that delivers checked luggage from the plane to baggage reclaim?", + "By definition, a 10-speed bike has 10 what?", + "A lullaby is a song sung to babies to help them do what?", + "In history books, leaders named Alexander and Catherine both share what flattering title?", + "What notable part of the US's topography accounts for roughly 20 percent of the fresh water on Earth?", + "A person who is preparing to work hard is said to be 'rolling up his' what?" }; char* antworten[][4] = { //Eingabe der zugehörigen Antworten in ein array {"Elsa", "Rapunzel", "Cinderella", "Pocahontas"}, @@ -41,10 +46,15 @@ void casualQuiz() { {"Mattress", "Nose", "Foot", "Boxer Shorts"}, {"Rump", "Leftovers", "Hump", "Stump"}, {"Hangar", "Carousel", "Terminal", "Bagroller"}, + {"Wheels", "Spokes", "Gears", "Lives"}, + {"Wake up", "Eat", "Fall asleep", "Invest wisely"}, + {"The Great", "The Unruly", "The Ego-Consious", "The Ferocious"}, + {"Mark Zuckerbergs hot tub", "The Grand Canyon", "Death Valley", "The Great Lakes"}, + {"Sleeves", "Curtains", "AC/DC wall poster", "Towels"}, + }; - int richtigeAntworten[] = { 3,4,1,2,1,4,3,2,2,3,4,1,2,4,2 }; // int, um die jeweils richtige antwort zu zeigen - + int richtigeAntworten[] = { 3,4,1,2,1,4,3,2,2,3,4,1,2,4,2,3,3,1,4,1}; int length_frag_array = sizeof(richtigeAntworten) / sizeof(int); //länge des arrays wird berechnet, damit man die länge vom spiel kennt int correct = 0; int answered = 0; @@ -180,7 +190,7 @@ bool ftryAgain(bool already_played) { if (already_played == true) { //wenn man das spiel schon gespielt hat int sure; printf("Would you like to play again?\n"); - printf("Input 1 to continue gaming, input 0 to return to the main menu: "); + printf("Input 1 to continue gaming, input 0 to close the game: "); scanf_s("%d", &sure); //eingabe pb man das spiel nochmal spielen möchte if (sure == 1) { // nochmal spielen