# (Solved) : Using C Sharp Write Program Plays Rock Paper Scissors Game User Bets 10 Dollars Rock Paper Q42777429 . . .

Using C sharp, write a program that plays Rock–paper–scissorsgame. The user bets 10 dollars on the Rock–paper–scissors game. Thepayouts are defined as follows:

 If the user wins, the user gets 2x the bet.  Otherwise, theuser loses the bet.

The game continues until  the user is out of money  or theuser chooses to quit the game by entering 0  or either the user orthe computer wins 4 games first. The user initially has 100dollars.

Design a modularized solution with two classes.

Here’s a picture of the question:

Write a program that plays Rock-paper-scissors game. The user bets 10 dollars on the Rock-paper-scissors game. The payouts are defined as follows: If the user wins, the user gets 2x the bet. • Otherwise, the user loses the bet. The game continues until • the user is out of money or the user chooses to quit the game by entering 0 • or either the user or the computer wins 4 games first. The user initially has 100 dollars. Design a modularized solution with two classes. Class Program Key Variables Key Methods Class Game A set of variables Game Winner) UserMoney History() GetInput() DisplayResult() Note. • • Game(): constructor Winner(): method that identifies the winner of a game UserMoney(): method that returns user money History(): method that returns game history Getlnput(): method that reads user inputs DisplayResult(): method that print out result of each game Show transcribed image text Write a program that plays Rock-paper-scissors game. The user bets 10 dollars on the Rock-paper-scissors game. The payouts are defined as follows: If the user wins, the user gets 2x the bet. • Otherwise, the user loses the bet. The game continues until • the user is out of money or the user chooses to quit the game by entering 0 • or either the user or the computer wins 4 games first. The user initially has 100 dollars. Design a modularized solution with two classes. Class Program Key Variables Key Methods Class Game A set of variables Game Winner) UserMoney History() GetInput() DisplayResult() Note. • • Game(): constructor Winner(): method that identifies the winner of a game UserMoney(): method that returns user money History(): method that returns game history Getlnput(): method that reads user inputs DisplayResult(): method that print out result of each game

Answer to Using C sharp, write a program that plays Rock–paper–scissors game. The user bets 10 dollars on the Rock–paper–s…

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.