Added back the call to the board initialization so the game is playable.

This commit is contained in:
Jonathan Bernard
2015-11-01 23:53:37 -06:00
parent ca14fd3f9e
commit 4a1ea4048c
2 changed files with 12 additions and 5 deletions

View File

@@ -54,8 +54,14 @@ var loadLevel = function(levelSetName, levelNum) {
var levelData = SnakeLevels[levelSetName].levels[parseInt(levelNum)];
// Show start overlay UI
}
// TODO: create some way to select the difficulty (defaults to easy).
// TODO: Show start overlay UI
// Initialize the board using the level data.
Snake.initialize(levelData);
};
var nextLevel = function() { };