Author | pyfex |

Submission date | 2011-06-12 21:54:07.566457 |

Rating | 3657 |

Matches played | 5218 |

Win rate | 34.48 |

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

```
import random
if input == "":
random.seed()
r = random.random()
played = []
output = 'S'
else:
random.seed(r)
played.append(input)
expected = random.choice(played)
output = {'P': 'S', 'R': 'P', 'S':'R'}[expected]
random.seed(16)
```