Author | moo |
Submission date | 2013-10-02 14:50:11.354703 |
Rating | 2268 |
Matches played | 631 |
Win rate | 20.13 |
Use rpsrunner.py to play unranked matches on your computer.
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