Rock, Paper, Scissors (part 1)

Exercise: Rock, Paper, Scissors, Part 1

Before we get our cat and duck to pick rock, paper, or scissors we need to have both the characters pick a random number from 1 to 3, when the green flag is pressed.

Make the cat and duck pick DIFFERENT random numbers, and then say the numbers they picked.

Hints:

  • You’ll need to make 2 new variables: cat choice and duck choice
  • If you want the cat and duck to say either 1, 2, or 3, what do you think you should set “cat choice” and “duck choice” to?

duck and cat choice

  • How can you get your cat and duck to say their choices?
  • Your stage should look something like this:

stage example

X
X