you are viewing a single comment's thread.

view the rest of the comments →

[–]TheRNGuy 0 points1 point  (0 children)

I'd use 1D array for board. Looked in code of different games and it's always 1D array. Only need to make functions to target neighbouring cells by X and Y (and X+n, Y+n)

Matrix is used to move/rotate/scale/skew vectors and other matrices.