urandom

This program has been disqualified.


AuthoriiMaXii
Submission date2016-09-01 21:39:49.652993
Rating4749
Matches played194
Win rate45.88

Source code:

def r():
	global n, i
	n=map(ord, os.urandom(256))
	i=0;

if not input:
	import os
	h=['R','P','S']
	r()
elif i >= len(n):
	r()

while int(n[i]) >= 255:
	# skip 255 to prevent an uneven distribution
	if i >= len(n):
		r()
	i+=1

output=h[int(n[i]) % 3]
i+=1