Browse Source

added display game instructions (epic game)

main
fdlt3885 2 years ago
parent
commit
6d2fc387bd
  1. 5
      src/main/quizproject.c
  2. 1
      src/main/quizproject.h

5
src/main/quizproject.c

@ -854,11 +854,16 @@ void B_userinfo(void){
printf("\t\t Nice!!!\n");
}
void B_displayGameInstructions() {
printf("\t\t To start this game, here are the instructions:\n\n # Read each question carefully and select the best answer from the choices provided.\n # You will receive points for each correct answer, and the game will keep track of your progress.\n # At the end of the game, you will be shown your final score and will have the option to play again.\n # Have fun and good luck!\n\n\n");
}
void b_epic_game() {
B_displayWelcomeMessage();
b_entertostart();
B_username();
B_userinfo();
B_displayGameInstructions();
}

1
src/main/quizproject.h

@ -51,6 +51,7 @@ void b_entertostart(void);
int toupper(int _c);
void B_sayhello(char name[]);
void B_userinfo(void);
void B_displayGameInstructions(void);
#define NUM_QUESTIONS 5
#define round 3

Loading…
Cancel
Save