Day 2 Game 2: 30 games in 30 days using Grids for GameMaker

[button url=”http://www.gamelogic.co.za/examples/30-games-in-30-days-for-gamemaker/Game02/game02_dots.zip” size=”large”]CLICK HERE TO DOWNLOAD GAME 2 (3MB)[/button]

[divider]

[slogan]This is what Grids did for us today. What can Grids do for you?[/slogan]

Developer: Robert Bogle (Mircosoft AppFactory), Munyaradzi Zinatsa (Microsoft AppFactory)

Game 2 is a version of the game flow played on a hex grid.

The aim is connect each set of colored dots by clicking on cells to create a path between them. Paths cannot cross each other. To win the player needs to fill all the cells and cells of the same colour must always be connected.

We started by randomly placing pairs of dots on the grid. To make sure that there was always a path between these points we used a pathfinding algorithm to create a path between them. We then cleared any paths that weren’t accessible, leaving only accesible paths. To make sure there was always a sufficient number of paths we increased the number of different colored paths generated to 14. A by product of this was a varying number of paths for each game.

[divider]

Click here to check out all 30 games 

[divider]

Scroll to Top