Author | moreda |
Submission date | 2019-06-02 16:47:04.654627 |
Rating | 2487 |
Matches played | 229 |
Win rate | 24.45 |
Use rpsrunner.py to play unranked matches on your computer.
import random
ez = random.choice(["t","f","g"])
if input == "" or ez == "t": # initialize variables for the first round
output = random.choice(["R","P","S"])
elif input == "R":
output = "S"
elif input == "P":
output = "R"
elif input == "S":
output = "P"