hejHo

Authorpg_robot
Submission date2012-10-30 11:25:26.184937
Rating3077
Matches played805
Win rate30.68

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

Source code:

import random

if input == "":
	r = 1
        p = 0
        s = 0
        output = "R"
elif r <=p and r <=s:
	r += 1
        output = "R"
elif p <=r and p <=s:
	p += 1
        output = "P"
elif s <=r and s <=p:
	s += 1
        output = "S"