randomBrain.exe

AuthorOxnour
Submission date2015-11-16 06:25:52.176805
Rating5902
Matches played459
Win rate58.61

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

Source code:

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