class RubyArena::Level3Ai
Public Instance Methods
tick(events)
click to toggle source
# File lib/ruby_arena/levels/level3_ai.rb, line 3 def tick(events) accelerate turn(6) if events[:scanned_robots].any? turn_gun(-10) fire end end