Activity: If 1
img

STEP 12: We'll set up the random number we generated to pick rock, paper, or scissors for the computer.

This test statement will tell the computer to choose "rock" if the random number generated is 1.

  • Go to and drag an if block into the bottom of your program.
  • Change the test variable in the if statement to random_choice. Change the test value to 1.
  • Drag a Rock sprite to the INSIDE of the If Statement you just made.


# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support