arathorn76 / TicTac4-3D

Tic Tac Toe like game. Played in a 3D cube of 4*4*4 cells. 4 in a row wins.
0 stars 0 forks source link

Neighbor vectors inefficiencies 2 #10

Closed arathorn76 closed 3 years ago

arathorn76 commented 3 years ago

Instead of having an array of 137 neighbor Vectors that get added to the cell vector each time a 133 array could be attached to every cell. Creation during cell creation based on the 13*7 array skipping invalid cell Vectors. All checks moved to checking over this array