This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
rubyrps /
| name | age | message | |
|---|---|---|---|
| |
README | Fri Aug 01 21:16:00 -0700 2008 | |
| |
bots/ | Sun Aug 03 21:45:55 -0700 2008 | |
| |
lib/ | Fri Aug 08 10:29:23 -0700 2008 | |
| |
run.rb | Fri Aug 01 21:05:43 -0700 2008 |
README
=== Official Ruby RPS Library === So, I decided to build a Ruby library to facilitate Rock, Scissors, Paper tournaments between Ruby bots. The API for building your own bot is extremely simple. Look at Randomizer and Stubborn for what you need to implement. Its as simple as including RPS::Bot and then implementing a #next method. History of rounds is available through #history. The code is ugly, but whatever. It runs. I built this in an hour. If you want to enter your own bot in the competition, then simply fork the repo, and do a pull request. Contact me at hcatlin@gmail.com MIT license, of course. And also Copyright Hampton Catlin.







