dirk1

Authordirknbr
Submission date2019-03-16 13:51:28.357862
Rating4605
Matches played244
Win rate44.26

Use rpsrunner.py to play unranked matches on your computer.

Source code:

# beat the last move

import random

rps = ['R', 'P', 'S']

if input == '':
  output = random.choice(rps)
elif input == 'R':
  output = 'P'
elif input == 'S':
  output = 'R'
else:
  output = 'S'