shoppingpax.blogg.se

Hex strategy games war
Hex strategy games war









The constraint is that q + r + s = 0 so the algorithms must preserve that. The cube coordinates are a reasonable choice for a hex grid coordinate system. We'll use this property in the neighbors section.

hex strategy games war

For example, northwest on the hex grid lies between the +s and -r, so every step northwest involves adding 1 to s and subtracting 1 from r. Each direction on the hex grid is a combination of two directions on the cube grid.Try the same for q (green) and s (purple). Try highlighting a hex with r at 0, 1, 2, 3 to see how these are related.

hex strategy games war

Each direction on the cube grid corresponds to a line on the hex grid.Selecting the hexes will highlight the cube coordinates corresponding to the three axes. Study how the cube coordinates work on the hex grid.

hex strategy games war

Shoves even columns down Cube coordinates #











Hex strategy games war