How do I represent a hextile/hex grid in memory?

前端 未结 9 549
迷失自我
迷失自我 2020-12-04 05:23

Say I\'m building a board game with a hextile grid, like Settlers of Catan:

\"Hosted

Note that

9条回答
  •  北海茫月
    2020-12-04 05:56

    Amit Patel has posted an amazing page on this topic. It's so comprehensive and wonderful that it needs to be the definitive answer to this question: Hexagonal Grids

提交回复
热议问题