Tips - GimpArm/AntRunner GitHub Wiki

  • Implement structures to keep track of the map and your ant's current situation.
  • Implement a path finding algorithm.
  • Implement various strategies for your ant to use that can change depending on the GameState.
  • Get your ant to successfully discover and navigate the map before worrying about battling other ants.
  • Keep track of the last AntAction that was made so you know the direction you made an echo or moved for the next Tick().
  • If you receive a GameEvent.CollisionDamage flag, do not update your ant's current location.
  • You can do a lot of work in 250ms but O(n^2) algorithms will snowball quickly on a larger map.