From 488041426b20a3d25b3cfc78bd3128715043c5c9 Mon Sep 17 00:00:00 2001 From: fdlt3859 Date: Mon, 23 Jan 2023 10:59:30 +0000 Subject: [PATCH] Added Game Instructions --- src/main/quizproject.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 3169bb4..978b62c 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -25,8 +25,23 @@ void displayWelcomeMessage(void) { } 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"); }