I’m working on a game that would look like Dicewars and my question is how to properly store field of hexagons.
I think it should look like matrix of values. Every value means whether hexagon relate to the certain player who owns it. Also each hexagon is a part of an area that can be conquered so it seems to be important to store relation of hexagon to the particular area.
Maybe there are any other better ways to do the same or kind of improvement.