Features
All ProjectsExample Games Included
These are some of the games included with the library. These will give you a feel for working with grids in games, and using some of the algorithms.
Lights out on a Hexagonal Grid
This is a hexagonal version of Lights Out. The aim of the game is to “switch off all the lights”. Whenever you click on a cell, all it’s neighbors are switched from off to on or from on to off.
PLAY THE GAME, SEE THE CODELights Out on a Cairo Pentagon Grid
This is the same game as above, just on a more exotic grid.
PLAY THE GAME, SEE THE CODEPipes
In this game, you have to connect all the pipes in the grid. You can rotate cells by clicking on them. Once all pipes in a cell are connected, the cell lights up. You are done when all the cells are lit up.
SEE THE CODELines
This is a hexagonal version of the game Lines. In this game, a bunch of colored cells are added each turn. You can move a cell from one position to another. If you make a line of 4 cells of the same color, you get another turn with out new cells being added. The goal of this game is to play as long as possible before the grid becomes full.
SEE THE CODESlider Puzzle
Restore the original image by moving cells into the empty space.
SEE THE CODEBlocks Slider Puzzle
Free the blue block by moving it to the exit squares. You can move blocks into empty spaces.
SEE THE CODE