Rock Paper Scissors Part IV [Alice 2]

We are going to create a variable numWins  to keep track of how many times the user correctly beats the cpu.

  1. create a variable numWins  to keep track of how many times the user correctly beats the cpu

num-wins-var

  1.  Every time that the user wins increment the variable by adding 1 on to that variable.

how-to-add-one-to-variable-alice

This is how you increase the value of  a variable by 1.

  1. Repeat this step for each in which the user wins.
  2. At the end of each round, tell the user how many times they won. (Remember that numWins  is a number so you must use what as a string to say it)

rps-shows-numWins