Added back the call to the board initialization so the game is playable.
This commit is contained in:
@@ -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() { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user