RPScauting v0.02

AuthorWouterS
Submission date2016-06-20 13:18:49.604680
Rating5330
Matches played411
Win rate53.77

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

Source code:

import random
RPS = ["R","P","S"]

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

else:
    if input == "R":
        RPS.append("P")
    elif input == "P":
        RPS.append("S")
    elif input == "S":
        RPS.append("R")

    output = random.choice(RPS)