Take part in AI Competition in Coding Game: contest link
A Code of Ice & Fire report for Roout
Final world standing: rank 113/2160;
Final league: Gold
- Dfs
- Bfs
- Search for Bridges in graph (offline)
- Dijkstra
- Move units
- Try to chain-spawn units to reach HQ of the enemy
- Try to chain-spawn units to divide territory of the enemy
- Defend from chain attack of the enemy (didn't have tile to implement)
- Defend my existing bridges on my territory
- Reinforce by tower or unit my tiles which are border with the enemy
- Attack enemy (score all possible attacks and choose best)
- Build mine if it's plenty of gold (almost never)
Notice: Code is dirty and wasn't refactored.