Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# code please!! Help! Thank you PA 3 Welcome to 221 Game Night! A fictional gameshow with completely theoretical financial exchanges. You walk in the

C# code please!! Help! Thank you image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

PA 3 Welcome to 221 Game Night! A fictional gameshow with completely theoretical financial exchanges. You walk in the door with 50 gil in your pocket hoping to win enough for your 300 gil rent when you leave. There are 2 games to play that your winnings (and losses) carry across. Card Shark and Shut the Box. 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, and the total gil in the user's pocket, then return to the main menu. If the user wins a total of $300 gil, congratulate the user and end the game. If the user loses all their money, end the game. After a game completes the user should be given the choice to play again. Game 2: Shut the Box Create a game of Shut the Box. When the game is selected, it should do the following: Ask the user to enter the amount of gil they want to risk. Shut the Box is a game played with two dice and 12 tiles numbered 1-12. The object of the game is to turn over all of the 12 tiles. To begin the game, all 12 tiles are turned up. At each turn, the player rolls the two dice. The player has the option of (1) turning over the tile representing the sum of the dice, or (2) turning over one or both of the tiles corresponding to the individual die values. If the player can do neither, then the game is over Game 2: Shut the Box A normal range for Shut the Box is the game ending with 3-6 tiles left remaining. If the user's game ends with 3-6 tiles left remaining, he wins back his gil. However, if the game ends with 0-2 tiles left remaining, he doubles his gil. If the game ends with 7 or more tiles left over, he loses his gil. Notes 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 don't 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions

Question

When can a research project be deemed researchable?

Answered: 1 week ago