Rock Sucks

Authorjlb
Submission date2011-06-21 21:41:10.595809
Rating2363
Matches played5258
Win rate23.94

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

Source code:

# I'm curious how the bots do against this--there is a simple strategy
# that soundly defeats it.  It should do _substantially_ worse than
# random.
import random

if input == "":
    choices = ["R", "P", "S"]

    # man, screw rock.  rock sucks!
    choices.remove("R")

output = random.choice(choices)