Browse Source

Fragenpool und dazugehörige Antworten erweitert um 5 Fragen

remotes/origin/Florian
Florian Baeseler 11 months ago
parent
commit
bd99f2b256
  1. BIN
      build/test/out/c/casualQuiz.o
  2. BIN
      build/test/out/c/test_casualQuiz.o
  3. BIN
      build/test/out/test_casualQuiz.out
  4. 2
      build/test/results/test_casualQuiz.pass
  5. 16
      src/casualQuiz.c

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

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

BIN
build/test/out/test_casualQuiz.out

2
build/test/results/test_casualQuiz.pass

@ -66,4 +66,4 @@
- Wrong Input!
- Wrong Input!
- It looks like you havent played the program yet, starting it up...
:time: 0.03548720001708716
:time: 0.03420029999688268

16
src/casualQuiz.c

@ -18,8 +18,13 @@ void casualQuiz() {
"In the United States, what is traditionally the proper way to adress a judge?",
"Which of these pairs of apps offers roughly the same type of service?",
"A geologist would likely be LEAST helpful for answering questions about which of the following?",
"When a person is rudely ignored, he is said to be getting a what?",
"A common piece of advice goes, 'Be there or be' what?"
"When a person is rudely ignored, he is said to be 'getting a' what?",
"A common piece of advice goes, 'Be there or be' what?",
"If you're trying to find other players in a game of hide and seek, what are you most likly called?",
"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?"
};
char* easy_antworten[][4] = { //Eingabe der zugehörigen Antworten in ein array
{"Elsa", "Rapunzel", "Cinderella", "Pocahontas"},
@ -32,9 +37,14 @@ void casualQuiz() {
{"Granite Boulders", "Fruity Pebbles", "Precious Stones", "Igneus Rocks"},
{"Hot knee","Cold shoulder", "Burning hand", "Warm toe"},
{"Bare", "Aware", "Square", "All alone a usual"},
{"Butterbean", "Stinky", "Dunce", "It"},
{"Salt", "Sand", "Sugar", "Silicium"},
{"Mattress", "Nose", "Foot", "Boxer Shorts"},
{"Rump", "Leftovers", "Hump", "Stump"},
{"Hangar", "Carousel", "Terminal", "Bagroller"},
};
int easy_richtigeAntworten[] = { 3,4,1,2,1,4,3,2,2,3 }; // int, um die jeweils richtige antwort zu zeigen
int easy_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 length_frag_array = sizeof(easy_richtigeAntworten) / sizeof(int); //länge des arrays wird berechnet, damit man die länge vom spiel kennt
int correct = 0;

Loading…
Cancel
Save