theflowong / logic-blocks-game

web-based game in progress: logic block puzzles
http://theflowong.github.io/logic-blocks-game
1 stars 1 forks source link

Error: when player pushes Goomba against edge of stage #2

Closed theflowong closed 7 years ago

theflowong commented 7 years ago

game.js:207 Uncaught TypeError: Cannot read property '20' of undefined at Stage.isEmpty (game.js:207) at Player.turn (game.js:362) at Stage.turn (game.js:184) at World.turn (game.js:45) at game.js:387

theflowong commented 7 years ago

Changed all stage edges to Walls