-
Notifications
You must be signed in to change notification settings - Fork 3
Tips
GimpArm edited this page Apr 15, 2019
·
1 revision
- 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
AntActionthat was made so you know the direction you made an echo or moved for the next Tick(). - If you receive a
GameEvent.CollisionDamageflag, 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.