Rock+Paper+Scissors+part+3

Overview
In this section you are going to get the computer to randomly play rock, paper or scissors

Card Script
To edit the card script choose //**Card Script**// from the //**Object**// menu

Enter the code below to the card script



Update Rock Paper Scissors Buttons
To make card script code run, you need to add 1 line of code to the bottom of the //**rock button script**//, the //**paper button script**// and the //**scissors button script**//.

The line of code needs to go below all the other code but above the **end mouseUp** statement

The line to be added is:



Testing
Test each of 3 buttons work - they should now display both the player hand and a random computer hand