Bobby Compact Fixed

Authorrdococ
Submission date2015-03-28 03:31:33.986613
Rating1980
Matches played508
Win rate19.88

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

Source code:

# Bobby Compact 2 Test
# I'm new to this kind of thing...

import random

if input == "R": # Predict S or P.
	output = "S"
elif input == "S": # Predict R or P.
	output = "P"
elif input == "P": # Predict R or S.
	output = "R"
else: # Oops... Big fail.
	output = random.choice(["R", "S", "P"])