Hacker News new | ask | show | jobs
by dripton 5037 days ago
I don't like the way he does coordinates for triangles and hexagons, having hexes with the same y-coordinate slope up to the right. I prefer having hexes with the same y-coordinate stay as close to horizontal as possible, meaning that even hexes will be shifted up or down by half a hex compared to odd hexes.

I found that keeping the hex coordinates as close as possible to the square coordinates that your GUI library uses makes things easier.