Your program should first greet the player and then offer him/her to enter Rock, Paper, or Scissors option. The player should enter one of the three. You need to check that the player always enters one of the correct options. If she enters a wrong option you should ask her to try again.
Next, the computer randomly “picks” rock, paper or scissors as well, and the program prints out the result according to the rules of the game.
The program should also keep the overall score and print it out after each game.
After each game, the program should ask the player if she wants to continue. If the player says “yes” the game continues in the same manner.
Comments
Leave a comment