Author | pyfex |

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

Rating | 3677 |

Matches played | 5264 |

Win rate | 34.5 |

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)
```