Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 134 bytes modified

beta.r3js.org
-=yb4f310 2018-03-23 13:47:01 +01:00
parent 0d10f5dabe
commit a6102dd99e
1 changed files with 8 additions and 1 deletions

View File

@ -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();