Sha256: b831a92f314cfe4fac6d91eb454b225edb7d1ce9d16585ba42b8f0d4525cdfc7
Contents?: true
Size: 226 Bytes
Versions: 5
Compression:
Stored size: 226 Bytes
Contents
require 'robot' class HyperactiveDuck include Robot def tick events turn_radar 1 if time == 0 accelerate 1 turn 2 if !events['robot_scanned'].empty? && gun_heat <= 0 fire 1 turn_gun -30 end end end
Version data entries
5 entries across 5 versions & 1 rubygems