xddd

Authorbob
Submission date2019-11-24 18:17:05.913434
Rating1854
Matches played78
Win rate15.38

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

Source code:

if input=="":
        loses=0
        output="R"

elif input == "R" and output == "S":
	loses += 1
elif input == "P" and output == "R":
	loses += 1
elif input == "S" and output == "P":
	loses += 1

if loses <= 2:
        output="R"
elif loses <=4:
        output="P"
elif loses <=6:
        loses=0
        output="S"