The easiest way to represent a square plane (a bunch of squares) is to use a two-dimensional array.
In C #, we declare this as int[,]we can make our plane as large as we want:
string[3,3] => tic-tac-toe board (or similar)
string[8,8] => chess or checkers board
To “move” an element in the plane, we simply assign it a new “position”
string[0,0] = "x";
string[1,1] = "o";
string[0,1] = bN;
string[2,2] = bN;
string[0,1] = String.Empty;
So, how would you imagine the hexagonal plane (a bunch of hexagons) and how could you move the movement from one position to another?
Note. This is not purely theoretical, since I have an idea for a small game in my head that will require such a movement, but I can’t wrap my head around how this will be done. I looked through some other questions here, but can't find a good match ...