Author | Byron Knoll |
Submission date | 2011-05-21 08:33:23.274477 |
Rating | 5089 |
Matches played | 7509 |
Win rate | 49.89 |
Use rpsrunner.py to play unranked matches on your computer.
import random
move = random.randrange(0,3)
if move == 1:
output = "R"
elif move == 2:
output = "P"
else:
output = "S"