Hexagonal grids are a common choice for board games because they provide six directions of movement, which creates a more natural notion of distance than square grids.
One convenient way to address each hex is with cube coordinates (x, y, z) that satisfy x + y + z = 0. This redundancy makes arithmetic simple.
The shortest path between two hexes is given by the Manhattan distance in cube space, divided by two.
What are cube coordinates in a hex grid?
How do I calculate the distance between two hexes using cube coordinates?
Why are hex grids used in board games?
Can cube coordinates be converted to other coordinate systems?
What is the advantage of using cube coordinates for hex grids?
Results are for informational purposes only and do not constitute professional advice.
