Permalink
Browse files

Update bot template [ci skip]

  • Loading branch information...
1 parent 1f11456 commit 318b060376c22940b52b2733a69de87beb9ed9a5 @awilliams committed Mar 13, 2013
Showing with 7 additions and 1 deletion.
  1. +7 −1 templates/bot.erb
View
@@ -4,8 +4,14 @@ class <%= @bot_class_name %> < RTanque::Bot::Brain
def tick!
## main logic goes here
+
# use self.sensors to detect things
+ # See http://rubydoc.info/github/awilliams/RTanque/master/RTanque/Bot/Sensors
+
# use self.command to control tank
+ # See http://rubydoc.info/github/awilliams/RTanque/master/RTanque/Bot/Command
+
# self.arena contains the dimensions of the arena
+ # See http://rubydoc.info/github/awilliams/RTanque/master/frames/RTanque/Arena
end
-end
+end

0 comments on commit 318b060

Please sign in to comment.