That Makes This Simple Then

Authordoeke
Submission date2011-06-08 23:58:00.514671
Rating3170
Matches played5444
Win rate32.24

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

Source code:

import random
types = ['R','P','S']
if not input or not moves:
 next = random.randrange(3)
 moves = [types[next]] * random.randrange(1, 4)
 moves.append(types[next-1])

output = moves.pop(0)