Board-grid

A Board-grid object is a collection of Row-grid objects. Each Row-grid object's horizontal property is true. Adjacent Row-grid objects are positioned one on top of the other.

 

Properties:

containerId: a unique integer identifying a container of Tile objects.

defStack: the default Tile-stack object

count: the no. of Row-grid objects

rows: a list of Row-grid objects of length equal to the count property

dimensions: width, height (in pixels)

position: left, top (in pixels)

offset: distance in pixels between adjacent Row-grid objects (height = offset multiplied by count)

visible: if false, Board-grid is not visible to user

 

Navigation:

To move to adjacent cell, press an arrow key. To move a Tile to an adjacent cell, click on it and then press an arrow key. To stop moving a Tile and start moving the User Tile-stack again, click on the User Tile-stack (center of screen). Then press an arrow key.

 

MazeGrid

A MazeGrid object is similar to a Board-grid object, except every cell has 0 to 4 visible borders, or walls (default width = 3 pixels). Most Tile-stacks, including the User Tile-stack, cannot move between adjacent cells separated by a wall. When a Vector other than the User Tile-stack 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.