Halite Home

Odd sizes are out by 1


When you ask the engine for a size 45 game, it gives you a size 44 game.

Same with size 25.

This affects official games.


yes you are correct about the size of the board in the game, but i don't see why this affects the official game :stuck_out_tongue:

just my perspective about the size :stuck_out_tongue:


The engine tries to get a map of size n, but due to restrictions of symmetry (and others) it's sometimes only able to produce a map which is slightly smaller. It gives you the width and height and you need to use those values instead of using a fixed value.