ccvera.II

Authorccvera
Submission date2011-06-03 16:43:02.816945
Rating3401
Matches played6036
Win rate28.91

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

Source code:

if input=="": # initialize variables for the first round
	rockCount = paperCount = scissorsCount = totalCount = 0
elif input == "R":
	rockCount += 1
elif input == "P":
	paperCount += 1
elif input == "S":
	scissorsCount += 1

totalCount += 1


import random
output = random.choice(["R","P",random.choice(["S","R"])])