| Author | Exp |
| Submission date | 2011-05-26 10:02:37.496471 |
| Rating | 4669 |
| Matches played | 7155 |
| Win rate | 38.41 |
Use rpsrunner.py to play unranked matches on your computer.
if input=="": # initialize variables for the first round
rockCount = paperCount = scissorsCount = 0
if input == "R":
output = "P" # paper beats rock
elif input == "P":
output = "S" # scissors beats paper
else:
output = "R" # rock beats scissors