forked from foolswood/Hexagongame
-
Notifications
You must be signed in to change notification settings - Fork 0
Maze Design
foolswood edited this page May 4, 2012
·
6 revisions
#Maze Design
To make maps you will need a text editor.
In the gh-pages branch in the mazes directory.
The maze files are JSON. The files contain a list of mazes, each maze is an object whose entries are detailed below.
- maze - The Maze Description.
- start - Start Co-ordinate.
- end - End Co-ordinate.
The maze is a list of strings.
- startColour - The colour the player starts the maze as.
#An Example Maze
{"maze" : [ "RyGrBgY", "gbygybb", "YgBgRyY"], "start" : "0,0", "end" : "3,0", "startColour" : "w" }