Question: Write a visual C# program that allows one user to play Rock-Paper-Scissors with computer. The user will pick a move (Rock Paper Scissors) from 3
Write a visual 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);

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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
