Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 134 bytes modified
parent
0d10f5dabe
commit
a6102dd99e
|
@ -1257,6 +1257,13 @@ 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();
|
||||
|
|
Loading…
Reference in New Issue