Skip to content

Structure of the Game Data Object

gjtrowbridge edited this page Oct 7, 2014 · 12 revisions

Here is an overview of the structure of the gameData object:

{ board: {}, heroes: [/* array of hero objects /], teams: heroes on team 1],[heroes on team 2 diamondMines = [/ array of Diamond Mine objects /]; healthWells = [/ array of Health Well objects /]; impassables = [/ array of impassable objects (trees) /]; turn: / some integer */

}