beatwsls

AuthorZedaM
Submission date2017-05-13 14:51:22.600390
Rating5289
Matches played235
Win rate52.34

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

Source code:

import random

if not input:
    beat={'R':'P','P':'S','S':'R'}
    lose={'R':'S','P':'R','S':'P'}
    lastin='R'
    lastout='S'
    output='S'
else:

        output=random.choice("RPS")

lastin=input
lastout=output