Inspired by the code club task, with some additions:

  • Error catcher added if player types something other than 'r', 'p' or 's'
  • Keeps score
  • Repeats until either the player or computer has won three matches