Bot in the game Ants AI Challenge.
- Implement ant-on-ant-battle strategy.
- Fix shortfall introduced to HillRaiser strategy, only rasing hills of player 2.
- Improve multisearch so several ants can go to same target - useful for raising hills.
- Remember food/hills/opponents etc. in fog of war.
- Reuse old search paths if no new obstacle are in the way.
- Iterative search length cutoff, first iteration using Manhattan. End before timeout.
- Extract to run strategies on other thread.
- Parallelize the search effort - use multiple threads.
- Solve "ordered into water" bug
- Add ASCII-art serialization of agent world step state. Serialization of state is useful as start state for hunting bugs via debugging and test cases.
- Fix old bug where RandomWalk strategy thows when there are no legal direction to move to.
- Fix food planning bug: Should prioritize neares food instead of the one first in the food-list. - Solved by implementing multisearch, a heuristic to priotitize among several search results.
- Extract comonalities from different strategies to a "strategy tool" - reduced lines of code.
- "Multiple A*" in search when finding food. For single search start position, reuses partial results for next search target.
- Add strategy SpreadOutScout, taking precedence over RandomWalk. It uses a low resolusion grid spreading over he entire map, as ant targets.
- Add strategy HillRaiser, using enemy hills as ant targets.
Current strategy stack
1. HillRaiser
2. GatherFood
3. SpreadOutScout
4. RandomWalk
- Add Breadth-first-search for finding parths from one start position and several targets.
- Add RandomWalk strategy.
- Add GatherFood strategy.
- Add Searck length cut off limit in search.
- Add AvoidWater filter when enumerating possible ant orders.