Bobby Compact Test

Authorrdococ
Submission date2015-03-28 03:29:06.873051
Rating4597
Matches played488
Win rate46.11

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

Source code:

# Bobby Compact 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"

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