Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ please Exercise #S: Complete Your Game! If you have not already done so, add a loop to your game. The loop can be an
C++ please
Exercise #S: Complete Your Game! If you have not already done so, add a loop to your game. The loop can be an infinite loop (while (1)). The inside of the loop consists of the IF statement that gives the user the choice of playing a game, showing a demo of the game and exiting When the user chooses to exit, the program ends. Change the menu above so that instead of the three choices, you have the folowing choices: * Play the Madlib game (from Lab #2) . Play the Choose Your Own Adventure game (from Lab 113) Play Treasure Hunt game (from Lab #5) . Play the Psychic game (from Lab i#5) . Play Tic-Tac-Toe (from this lab. Exercise #4) e Exit The WHILE loop will consist of the menu above and the IF statement. However, this time, based upon the user choice, the main program will call a function that plays the game of choice. If the user chooses choice 1, the main program will call a function that plays the Math game, etc. Make each game a function of its ownlStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started