From 6d2fc387bda5e5d0461c5ad1094d18cfed169405 Mon Sep 17 00:00:00 2001 From: fdlt3885 Date: Tue, 31 Jan 2023 21:43:37 +0000 Subject: [PATCH] added display game instructions (epic game) --- src/main/quizproject.c | 5 +++++ src/main/quizproject.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/main/quizproject.c b/src/main/quizproject.c index a708e47..ef606e0 100644 --- a/src/main/quizproject.c +++ b/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(); } diff --git a/src/main/quizproject.h b/src/main/quizproject.h index ca33971..8bcd341 100644 --- a/src/main/quizproject.h +++ b/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