brain.exe

AuthorOxnour
Submission date2015-11-14 17:12:04.996950
Rating6140
Matches played471
Win rate59.24

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

Source code:

if input:
    his.append(input)
    __import__("random").shuffle(his)
    output=_[his[0]]
else:
    _={"R":"P","P":"S","S":"R"}
    his = []
    output = "R"