delay_rand

AuthorJChen
Submission date2011-06-15 22:27:32.560730
Rating4839
Matches played5017
Win rate49.25

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

Source code:

import random

count = 0
if input == "":
    output = random.choice(["R","P","S"])
    count +=1
else:
    if(count%2==0):
        output = random.choice(["R","P","S"])
        count+=1
    else:
        output = output
        count+=1