beatwsls

AuthorZedaM
Submission date2017-05-13 14:51:22.600390
Rating4768
Matches played373
Win rate49.87

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