Question
Rock Paper Scissors Game Application: Write a C# program that allows one user to play Rock-Paper-Scissors with computer. The user will pick a move (Rock
Rock Paper Scissors Game Application:
Write a C# program that allows one user to play Rock-Paper-Scissors with computer.
The user will pick a move (Rock Paper Scissors) from 3 radio buttons and click the play button to play the game. The application will use random number generator to pick a move for the computer. Then, the application display the computer's move and also display whether you won or lost the game, or the game is tie if both moves are the same.
The application must be able to record the score for number of wins for both players. Also, when you change your move, the application must clear out the current win/lose message and the computer's move.
The following codes will create one number randomly from 1, 2 or 3 and assign it to the variable num.
int num = 0; Random rnd = new Random(); num = rnd.Next(1, 4);
Interface Example:
Specifications
Choose an appropriate name for your solution/project
Rename the form.
Change the Name/Text properties of the controls and use prefixes (abbreviations)
Include comments in your code.
Rock Paper Scissors Your Score Computers Score 2 Your Move O Rock O Paper Computer's Move Scissors Scissors Scissors and Scissors. It a tie Play Rock Paper Scissors Your Score Computers Score 2 Your Move O Rock O Paper Computer's Move Scissors Scissors Scissors and Scissors. It a tie PlayStep 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