Rock, Paper, Scissors (part 4)

Exercise: Rock, Paper, Scissors, Part 4

Now that you’ve got a referee, you need a way to keep score!

You will need to make 2 more variables “cat score” and “duck score”.

  • How should the variable “cat score” change when the cat wins?
  • How should the variable “duck score” change when the duck wins?
  • Does the score change when their is a tie?

BIG hint: you shouldn’t need to write that much more code to get the score working. Use the code you have already written for the referee!

duck wins

X
X