You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
3.9 KiB

2 years ago
2 years ago
2 years ago
2 years ago
  1. #ifndef QUIZPROJECT_H
  2. #define QUIZPROJECT_H
  3. void play_quizgame(void);
  4. void play_milliongame(void);
  5. void displayWelcomeMessage(void);
  6. void displayGameInstructions(void);
  7. void displayLifelineInstructions(void);
  8. void displayInstructions(void);
  9. void displayGoodLuckMessage(void);
  10. void ask_questions(void);
  11. void ask_hard_questions(void);
  12. void fifty_fifty(int);
  13. void hint(int);
  14. void correct(int);
  15. void wrong(int);
  16. int score = 0;
  17. void printOutOption(char [][100], char [][100],char [], int, int, int[] );
  18. void looping(char [][100], char [][100], char [], int []);
  19. void displayThankYouMessage(void);
  20. int* randomNumber();
  21. void hintForHardQuestions(int);
  22. void feedbackForm(void);
  23. void displayCredits(void);
  24. void progress_bar(int percentage);
  25. void v_progress_bar(int argc, char *argv[]);
  26. void million_instructions();
  27. void million_exit(int million_a);
  28. //Header Fact or Lie
  29. void v_factorlie(void);
  30. void v_play_factorlie(void);
  31. //Header Guess The Number
  32. void v_guessTheNumber(void);
  33. void v_play_guessTheNumber(void);
  34. //Header Guess The Word
  35. void v_guessTheWord(char word[], char guessed[]);
  36. void v_play_guessTheWord(void);
  37. //Header Rock Paper Scissors
  38. void v_play_rockpapersciss(void);
  39. //Header Horoscope Game
  40. void v_horoscope(int day, int month);
  41. void v_play_horoscope(void);
  42. //Header AllAboutSpace
  43. void v_allaboutspace(void);
  44. void v_play_allaboutspace(void);
  45. //------Math_quiz_header_begin-----
  46. void math_choose_question(int);
  47. int math_answer(int);
  48. void math_display_choice();
  49. void math_enter_game();
  50. void e_math_ques(void);
  51. void e_math_print(char [][140], char [][140], char [], char [][100], int []);
  52. void math_instruction(void);
  53. void math_choose_game(void);
  54. //------Math_quiz_header_end-------
  55. //----smart_brain_header_begin-----
  56. void e_press_key_start(void);
  57. void e_display_instruction(void);
  58. void e_t_f_printQuestions(char [][100],char [], int []);
  59. void e_ask_questions(void);
  60. void e_smart_brain(void);
  61. bool e_true_false(char);
  62. void e_usr_answr(char [][100], char [], int, int,int []);
  63. void e_questions_r3(void);
  64. void e_printout_r3 (char [][100], char [][100]);
  65. int track_r2_score = 0;
  66. void guess_word_questions(void);
  67. void print_guess_word_question (char [][100], char [][100],char [][100], int []);
  68. void e_printout(char [][100], char [][100], int []);
  69. void e_anagram_questions(void);
  70. void hint_anagram(int);
  71. //----smart_brain_header_end-------
  72. //Epic Game Headers
  73. void B_displayWelcomeMessage(void);
  74. void B_username(void);
  75. void b_entertostart(void);
  76. void B_sayhello(char name[]);
  77. void B_userinfo(void);
  78. void B_displayGameInstructions(void);
  79. void B_show_time(void);
  80. int B_testround(void);
  81. int B_round1(void);
  82. int B_round2(void);
  83. int B_round3(void);
  84. int B_round4(void);
  85. int B_round5(void);
  86. int B_round6(void);
  87. int B_round7(void);
  88. int B_round8(void);
  89. int B_round9(void);
  90. int B_round10(void);
  91. void B_saythankyou(void);
  92. void rate(void);
  93. void B_write_review(void);
  94. //Geography quiz headers
  95. void b_WelcomeMessage();
  96. int b_askQuestion(int questionNumber, char* question, char* answer);
  97. void b_displayResults(int correctAnswers);
  98. void b_play_geography();
  99. //Guess animal Game Headers
  100. void b_guess_animal();
  101. //Basketball Quiz Headers
  102. void b_basketballQuiz();
  103. //Guess Birth Year Headers
  104. void b_guessbirthyear();
  105. //Germany Quiz Headers
  106. void b_germanyquiz();
  107. //Breaking Bad Quiz Headers
  108. void b_BreakingBquiz();
  109. //Crossword Headers
  110. void b_crossword();
  111. //Gambling Game Headers
  112. void b_gamble();
  113. //History Game Headers
  114. void b_historyevents();
  115. //-------brain_whiz_header_begin------------
  116. void for_loop_print_question(char [][140], char [][140], char []);
  117. void math_question2();
  118. void compare_answer(char, char);
  119. void math_introduction();
  120. void math_fact_lie(int);
  121. void math_fact_lie_solutions(int);
  122. void math_fact_lie_print();
  123. void math_quiz_option();
  124. //-------brain_whiz_header_end-------------
  125. #define NUM_QUESTIONS 5
  126. #define NUM_ROUNDS 15
  127. #define MAX_LIVES 10
  128. #define MAX_WORD_LENGTH 20
  129. #define ROCK 1
  130. #define PAPER 2
  131. #define SCISSORS 3
  132. #endif