Question: Create a menu driven application that allows the user to play both games. When the user chooses to finish one game, output the winnings from

Create a menu driven application that allows the user to play both games. When the user chooses to finish one game, output the winnings from the session, the total dollars in the users pocket and return to the menu. If the user wins a total of $300, congratulate the user and end the application. If the user loses all their money, end the application.

- Before the user plays a game or places a bet, the amount of money they currently have should be displayed. Users are not allowed to bet what they dont have.

- Before the user starts a game, ensure they are clear on the rules (display rules)

- After each round of a game, the user should have the option to keep playing the current game, or return to the menu to choose another game.

Create a game that simulates a slot machine. When the game is selected, it should do the following:

- Ask the user to enter the amount in dollars they want to risk

- The program will randomly select a word from the following list: Missouri, Nagato, Warspite, Bismarck, Littorio, Richelieu. The game should randomly select a word from this list 3 times and display all three words.

- If none of the randomly selected 3 words match, the user loses the money they risked. If 2 words match, the user wins double the amount. If 3 words match, the user wins triple the amount.

Create a game of Dice. When the game is selected, it should do the following:

- The program will roll five 6-sided dice and add up the results.

- The user has four tries to guess the amount (between 5 and 30). After each guess, the user is given feedback if they are correct, too low, or too high.

- Each guess costs the user $3. If they guess correctly, they win $50. If the user cannot guess within 4 turns, they forfeit the money they paid to guess and the game ends.

Please code in C#. I thank you in advance for your help, much obliged.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!