Skip to content

Commit 633c6ab

Browse files
Add printscreen
1 parent 5f29f65 commit 633c6ab

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

img/gamesnake.png

1.67 KB
Loading

js/controller/game.js

+3
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ var Game = function(engine){
119119
case'Control':
120120
clearInterval(controller.time);
121121
break;
122+
case 'Shift':
123+
controller.snakeBody.addPiece(controller.engine);
124+
break;
122125
}
123126

124127
}

0 commit comments

Comments
 (0)