periczeljkosmederevo R1.3

AuthorPeric N Zeljko
Submission date2012-10-29 11:02:16.184122
Rating3279
Matches played742
Win rate30.05

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"