Question: Using C# programming language, you are required to create a game that plays the rockpaperscissors. The user bets 10 dollars on the Rockpaperscissors game. The

Using C# programming language, you are required to create a game that plays the rockpaperscissors. The user bets 10 dollars on the Rockpaperscissors game. The payouts are defined as follows:

If the user wins, the user gets 2x the bet.

Otherwise, the user loses the bet.

Use a random number generator Random rnd = new Random(); [your variable] = rnd.Next(1, 4);

The user starts the game with $100

The game continues until:

a. the user is out of money

b. or the user chooses to quit the game by entering 0

c. or either the user or the computer wins 4 games first.

Develop the program using two files (in addition to your main program file, create your own Class, Game).

Use selection statement(s) and loop statement(s).

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!