A BoardGrid object is a collection of RowGrid objects. Each RowGrid object's horizontal property is true. Adjacent RowGrid objects are positioned one on top of the other.
Properties:
containerId: a unique integer identifying a container of Card objects.
defStack: the default CardStack object
count: the no. of RowGrid objects
rows: a list of RowGrid objects of length equal to the count property
dimensions: width, height (in pixels)
position: left, top (in pixels)
offset: distance in pixels between adjacent RowGrid objects (height = offset multiplied by count)
visible: if false, BoardGrid is not visible to user
Navigation:
To move to adjacent cell, press an arrow key. To move a Card to an adjacent cell, click on it and then press an arrow key. To stop moving a Card and start moving the User CardStack again, click on the User CardStack (center of screen). Then press an arrow key.
MazeGrid
A MazeGrid object is similar to a BoardGrid object, except every cell has 0 to 4 visible borders, or walls (default width = 3 pixels). Most CardStacks, including the User CardStack, cannot move between adjacent cells separated by a wall. When a Vector other than the User CardStack moves between adjacent cells, the Vector usually moves smoothly, one pixel or a few pixels at a time, instead of jumping from one cell to another.