| Author | slowderp | 
| Submission date | 2011-06-12 10:05:23.743039 | 
| Rating | 5423 | 
| Matches played | 5233 | 
| Win rate | 51.31 | 
Use rpsrunner.py to play unranked matches on your computer.
from random import randint
beat = {'R':'P', 'P':'S', 'S':'R'}
if input in beat.keys():
    mymoves.append(beat[beat[mymoves[randint(0, len(mymoves)-1)]]])
else:
    mymoves = [beat.keys()[randint(0, 2)]]
output = mymoves[-1]