I'm sorry if this is not the right place to report this.
But, I feel the following part of the code should use LOSING_ANTS_CANT_CARRY not LOSING_ANTS_CANT_MOVE. The latter is always false while the former is false only during Wood, which is aligned with the rule description.
I can also see the Attack Chains rule not being applied on game replays.
|
LinkedList<Cell> bestPathToHill = board.getBestPath(foodCell, anthillCell, player.getIndex(), Config.LOSING_ANTS_CANT_MOVE); |