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 (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Oct 03 13:54:21 -0700 2009 | |
| |
README.md | ||
| |
Rakefile | Sat Oct 03 13:54:21 -0700 2009 | |
| |
VERSION.yml | Sat Oct 03 13:54:21 -0700 2009 | |
| |
bots/ | ||
| |
lib/ | ||
| |
realtimebattle.gemspec | Sat Oct 03 13:54:21 -0700 2009 | |
| |
server/ | ||
| |
spec/ | ||
| |
tasks/ |
README.md
General
This is a not very accurate port of the game realtimebattle which I is written in C++ and I couldn't compile on OSX.
The basic principle: you program little bots and then they fight each other in an arena. A bot is an executable than receives information via STDIN and sends back answers via STDOUT. For an example see the bos/stupid_bot.rb. Bots can be written in any programming language, not just Ruby.
The GUI
The GUI is implemented as a web application using Sinatra. You can start the server from the root level of the project directory like this:
$ ruby server/realtimebattleserver.rb
This loads an html page and some javascript that will update the arena a few times per second.








