Simple Hopper

AuthorVaran
Submission date2011-06-09 07:53:08.585695
Rating4889
Matches played5679
Win rate49.15

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

Source code:

import random

count = random.randrange(1, 10)
choice = random.choice(["R","P","S"])

if(count == 0):
	count = random.randrange(1, 10)
	choice = random.choice(["R","P","S"])

count -= 1

output = choice;