TresBot
A basic table top robot
Installation
Install from RubyGems.org
$ gem install tres_bot
Compile it yourself
$ gem build tres_bot.gemspec
$ gem install tres_bot-1.0.0
Usage
# TresBot.start
# command
Commands
The first command must follow the format: PLACE 1,1,NORTH
Subsequent commands: Left (turns left) Right (turns right) Move (moves one space in the direction the bot is facing) Report (reports current position)
Run Tests
cd x/tres_bot rake test