You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gjtrowbridge edited this page Oct 7, 2014
·
12 revisions
Below is an overview of the general structure of the gameData object (useful when designing your hero brain).
Note that you can see/experiment with the full gameData object by running the test_your_hero_code.js script after cloning and downloading this repository.
{
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 */
}