__ __ __
.-----.--.--.--.|__|.-----.| |_ .----.| |--.
|__ --| | | || || || _|__| _|| _ |
|_____|________||__||__|__||____|__|__| |_____|
(c) 2008-01-07 Philipp Hofmann <[email protected]>
swint.rb is an entirely in Ruby written client for the SwarmIntelligence programming game originally created by Stefan Schwarzburg-Benz.
Usage:
./swint.rb [options]
Options:
-r|--robot <uri>
supply a URL to your robot's XMLRPC interface here, may be used repeatedly
-m|--map <filename>
supply a filename to the XML map of the game
-s|--step
visualize each step, not only each turn
-w|--wait
wait for input before each step
-v|--no-visual
turn off visuals
-t|--test
turn off the initial rotation of map (better for testing)
-n|--n-times <times>
play more than one game
-i|--statistics
display statistics
-e|--require <file>
require a ruby file
-c|--class
add a ruby robot class as player
Example:
For a quick match on example.map:
./swint.rb -r http://localhost:8000/ -r http://localhost:8001/
For testing your bot:
./swint.rb -r http://localhost:8000/ -s -t -w -m maps/example.map