Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Column ¶
type Column struct { Identified Cells []*Cell Grid *Grid }
Column contains many Cells. Columns are vertical strips on the grid.
type Game ¶
type Game struct { Assets *util.Assets Grid *Grid Score int64 RNG *rand.Rand Over bool Win *pixelgl.Window }
Game contains the game's data
type Grid ¶
Grid describes the game board. It contains Cells (which are pointers to the sub-items of each Column) and Columns.
type Identified ¶
Identified tags an item with an integer identifier
Click to show internal directories.
Click to hide internal directories.