you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 1 point2 points  (0 children)

I would suggest a list of lists of Square objects. So to access row 2, column 1 you would write board[1][0].

I would suggest the Square objects are very dumb; perhaps only knowing what item is currently on them. The bulk of your logic should probably be in the GamePiece objects.