Author | Joey |
Submission date | 2012-09-26 17:47:44.906372 |
Rating | 1858 |
Matches played | 806 |
Win rate | 18.11 |
Use rpsrunner.py to play unranked matches on your computer.
import random
if input == '':
r = 0
s = 0
p = 0
output = 'R'
if input == 'R':
r += 1
elif input == 'S':
s += 1
elif input == 'P':
p += 1
output = 'R'