Sources of Information and Advice The output of this project will be the work of a group of 2 students for the course be the work of each group only. To use the work of others without identifying plagiarism. This is a form of academic dishonesty and will NOT be accepted, and may lead to from the Course or a grade of O in the Project. group of 2 students for the course project. Your code must k of others without identifying it is considered as a Write a MATLAB program that lets the user play the game of Rock, Paper, and Scissors against the computer. Scissors cut paper Paper wraps stone The program should work as follows: 1. When the program begins, a random number in the range of 1 THE through 3 is generated. If the number is 1, then the computer has RULES chosen rock. If the number is 2, then the computer has chosen paper. If the number is 3, then the computer has chosen scissors. Stone (Don’t display the computer’s choice yet.) blunts scissors 2. The user clicks a button or enters his/her choice of “rock”. “paper”, or “scissors” (You can use a GUI design of your preference. Such as 1 for “rock”, 2 for “paper” or 3 for “scissors”). (Or you can use the design in Figure l as a guidance). 3. After that, the computer’s choice and the user’s choice will be displayed on the screen. 4. A winner is selected according to the following rules: • If one player chooses rock and the other player chooses scissors, then rock wins. (The rock smashes the scissors.) • If one player chooses scissors and the other player chooses paper, then scissors wins. (Se paper.) If one player chooses paper and the other player chooses took paper wins. (Paper wraps rock.) • If both players make the same choice, the game must be played agam to determine the winne Write a MATLAB program that lets the user play the game of Rock, Paper, and Scissors against the computer. Scissors cut paper Paper wraps stone The program should work as follows: 1. When the program begins, a random number in the range of THE through 3 is generated. If the number is 1, then the computer has RULES chosen rock. If the number is 2, then the computer has chosen paper. If the number is 3, then the computer has chosen scissors. Stone (Don’t display the computer’s choice yet.) blunts scissors 2. The user clicks a button or enters his/her choice of “rock”, “paper”, or “scissors” (You can use a GUI design of your preference. Such as 1 for “rock”, 2 for “paper”, or 3 for “scissors”), (Or you can use the design in Figure 1 as a guidance). 3. After that, the computer’s choice and the user’s choice will be displayed on the screen. 4. A winner is selected according to the following rules: . If one player chooses rock and the other player chooses scissors, then rock wins. (The rock smashes the scissors.) . If one player chooses scissors and the other player chooses paper, then scissors wins. (Sciss paper.) If one player chooses paper and the other player chooses rock, then paper wins. (Paper If both players make the same choice, the game must be played again to determine the winner Show transcribed image text Sources of Information and Advice The output of this project will be the work of a group of 2 students for the course be the work of each group only. To use the work of others without identifying plagiarism. This is a form of academic dishonesty and will NOT be accepted, and may lead to from the Course or a grade of O in the Project. group of 2 students for the course project. Your code must k of others without identifying it is considered as a Write a MATLAB program that lets the user play the game of Rock, Paper, and Scissors against the computer. Scissors cut paper Paper wraps stone The program should work as follows: 1. When the program begins, a random number in the range of 1 THE through 3 is generated. If the number is 1, then the computer has RULES chosen rock. If the number is 2, then the computer has chosen paper. If the number is 3, then the computer has chosen scissors. Stone (Don’t display the computer’s choice yet.) blunts scissors 2. The user clicks a button or enters his/her choice of “rock”. “paper”, or “scissors” (You can use a GUI design of your preference. Such as 1 for “rock”, 2 for “paper” or 3 for “scissors”). (Or you can use the design in Figure l as a guidance). 3. After that, the computer’s choice and the user’s choice will be displayed on the screen. 4. A winner is selected according to the following rules: • If one player chooses rock and the other player chooses scissors, then rock wins. (The rock smashes the scissors.) • If one player chooses scissors and the other player chooses paper, then scissors wins. (Se paper.) If one player chooses paper and the other player chooses took paper wins. (Paper wraps rock.) • If both players make the same choice, the game must be played agam to determine the winne
Write a MATLAB program that lets the user play the game of Rock, Paper, and Scissors against the computer. Scissors cut paper Paper wraps stone The program should work as follows: 1. When the program begins, a random number in the range of THE through 3 is generated. If the number is 1, then the computer has RULES chosen rock. If the number is 2, then the computer has chosen paper. If the number is 3, then the computer has chosen scissors. Stone (Don’t display the computer’s choice yet.) blunts scissors 2. The user clicks a button or enters his/her choice of “rock”, “paper”, or “scissors” (You can use a GUI design of your preference. Such as 1 for “rock”, 2 for “paper”, or 3 for “scissors”), (Or you can use the design in Figure 1 as a guidance). 3. After that, the computer’s choice and the user’s choice will be displayed on the screen. 4. A winner is selected according to the following rules: . If one player chooses rock and the other player chooses scissors, then rock wins. (The rock smashes the scissors.) . If one player chooses scissors and the other player chooses paper, then scissors wins. (Sciss paper.) If one player chooses paper and the other player chooses rock, then paper wins. (Paper If both players make the same choice, the game must be played again to determine the winner
Expert Answer
Answer to Sources of Information and Advice The output of this project will be the work of a group of 2 students for the course be…