Better Than Random 2

AuthorMike Bufardeci
Submission date2011-06-10 23:30:30.394274
Rating4823
Matches played5114
Win rate48.18

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

Source code:

'''
Updates:
-Removed some randomness.
-Made better than random (hopefully).
-Removed hobo blood dependency.
'''
import random as c
p = [("R","P"),("P","S"),("S","R")]
r =  c.choice(["R","P","S"])
for x in p:
    if r == x[0]:
        output = x[1]