diff --git a/21g30t1e75.js b/21g30t1e75.js index 28ce6a5..8409bbe 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1256,7 +1256,14 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { ) this.state.turning = false; - + + if (this.state.eating) { + /** + * make a backup of the snake here + */ + console.log('snake just ate'); + } + this.state.eating = false; this.visualizeGrid();