diff --git a/starterAIs/Starter.rb b/starterAIs/Starter.rb index e15a125..6bbdb79 100644 --- a/starterAIs/Starter.rb +++ b/starterAIs/Starter.rb @@ -73,7 +73,7 @@ my_units.each { |tile| target = nil # TODO: pick a destination tile - if taget + if target amount = 0 # TODO: pick amount of units to move actions<<"MOVE #{amount} #{tile.x} #{tile.y} #{target.x} #{target.y}" end @@ -81,4 +81,4 @@ # To debug: STDERR.puts "Debug messages..." puts actions.size > 0 ? actions*";" : "WAIT" -} \ No newline at end of file +}