jm1

Authormoo
Submission date2013-10-02 14:50:11.354703
Rating2268
Matches played631
Win rate20.13

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

Source code:

import random
if input == "": 
    rockCount = paperCount = scissorsCount = 0
    currentduration = 0
    currentoutput = ""
    
if currentduration <= 0:
    currentduration = random.randrange(10)
    currentoutput = random.choice(["R","P","S"])
    currentduration = currentduration = 1

output = currentoutput