Browse Source

Added Game Instructions

main
fdlt3859 2 years ago
parent
commit
488041426b
  1. 19
      src/main/quizproject.c

19
src/main/quizproject.c

@ -25,8 +25,23 @@ void displayWelcomeMessage(void) {
} }
void displayGameInstructions(char name[]) { void displayGameInstructions(char name[]) {
printf("\t\t Hello %s \n\n", name);
printf("\t\t To start this game, here are the instructions\n\n");
printf("\t\t------------------------------------------\n\n");
printf("\t\t------------------------------------------\n\n");
printf("\t\t Hello %s! \n\n", name);
printf("\t\t To start this game, here are the Game Instructions\n\n");
printf("\t\t------------------------------------------\n");
printf("\t\t------------------------------------------\n\n");
printf("\t\tYou will be presented with questions from Round 1(Super Easy) to Round 5(Very Hard).\n");
printf("\t\tFor every question you have four options (A, B, C, D).\n");
printf("\t\tFor each question, you can either choose the answer from the four options or use a lifeline.\n\n");
printf("\t\t>>To Pass Through Round 1: You have to get 3 out of 5 correct.<<\n");
printf("\t\t>>To Pass Through Round 2: You have to get 3 out of 5 correct.<<\n");
printf("\t\t>>To Pass Through Round 3: You have to get 4 out of 5 correct.<<\n");
printf("\t\t>>To Pass Through Round 4: You have to get 4 out of 5 correct.<<\n");
printf("\t\t>>To Pass Through Round 5: You have to get 5 out of 5 correct.<<\n\n");
printf("\t\tIf you choose the wrong answer, you lose a point.\n\n");
printf("\t\tYou may lose the game if not you don't have enough points to pass to the next round.\n\n");
printf("\t\tIf you use a lifeline and still choose the wrong answer, you lose the game.\n");
} }

Loading…
Cancel
Save