|
@ -821,6 +821,19 @@ void play_guessTheWord() { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void B_displayWelcomeMessage(void) { |
|
|
|
|
|
printf("\t\t------------------------------------------\n\n"); |
|
|
|
|
|
printf("\t\t------------------------------------------\n\n"); |
|
|
|
|
|
printf("\t\t Welcome to The EPIC GAME \n\n"); |
|
|
|
|
|
printf("\t\t------------------------------------------\n"); |
|
|
|
|
|
printf("\t\t------------------------------------------\n\n"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void b_epic_game() { |
|
|
|
|
|
B_displayWelcomeMessage(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void feedbackForm(void){ |
|
|
void feedbackForm(void){ |
|
|
int rating; |
|
|
int rating; |
|
|
char feedback[1000]; |
|
|
char feedback[1000]; |
|
@ -876,7 +889,7 @@ int main() { |
|
|
|
|
|
|
|
|
int jump_to_menu = 0; |
|
|
int jump_to_menu = 0; |
|
|
|
|
|
|
|
|
while (choice != 7 || jump_to_menu) { |
|
|
|
|
|
|
|
|
while (choice != 8 || jump_to_menu) { |
|
|
printf("Welcome to the Game Menu!\n"); |
|
|
printf("Welcome to the Game Menu!\n"); |
|
|
printf("1. QuizGame\n"); |
|
|
printf("1. QuizGame\n"); |
|
|
printf("2. Fact or Lie?\n"); |
|
|
printf("2. Fact or Lie?\n"); |
|
@ -884,7 +897,8 @@ int main() { |
|
|
printf("4. Guess the Number!\n"); |
|
|
printf("4. Guess the Number!\n"); |
|
|
printf("5. Guess the Word!\n"); |
|
|
printf("5. Guess the Word!\n"); |
|
|
printf("6. Smart Brain\n"); |
|
|
printf("6. Smart Brain\n"); |
|
|
printf("7. Exit\n"); |
|
|
|
|
|
|
|
|
printf("7. Epic Game\n"); |
|
|
|
|
|
printf("8. Exit\n"); |
|
|
printf("Enter your choice: "); |
|
|
printf("Enter your choice: "); |
|
|
scanf("%d", &choice); |
|
|
scanf("%d", &choice); |
|
|
|
|
|
|
|
@ -914,6 +928,10 @@ int main() { |
|
|
jump_to_menu = 1; |
|
|
jump_to_menu = 1; |
|
|
break; |
|
|
break; |
|
|
case 7: |
|
|
case 7: |
|
|
|
|
|
b_epic_game(); |
|
|
|
|
|
jump_to_menu = 1; |
|
|
|
|
|
break; |
|
|
|
|
|
case 8: |
|
|
printf("\nThank you for trying our C code!\n"); |
|
|
printf("\nThank you for trying our C code!\n"); |
|
|
break; |
|
|
break; |
|
|
default: |
|
|
default: |
|
|