jar

Authorjared
Submission date2011-11-05 03:38:31.672974
Rating1793
Matches played844
Win rate19.43

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

Source code:

import random

if input == "R":
    output = random.choice(["R","P"])

if input == "P":
    output = random.choice(["P","S"])

if input == "S":
    output = random.choice(["S","R"])

else:
    output = "R"