Skip to content

Commit

Permalink
control
Browse files Browse the repository at this point in the history
  • Loading branch information
thebluber committed Mar 19, 2012
1 parent 9976816 commit d5bc90f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snake.js
Expand Up @@ -109,7 +109,9 @@ window.onload = function(){
var bite = this.blocks.slice(1).reduce(function(res, t){
return res || t.intersect(head.x, head.y, BLOCKSIZE, BLOCKSIZE);
}, false);

if (Timer.timeUp()){

};
if (eatFeed) {
feed.destroy();
feed = Crafty.e("feed").makeFeed(feeds[Crafty.math.randomInt(0,1)]);
Expand Down

0 comments on commit d5bc90f

Please sign in to comment.