1.
var game = new SnakeGame();
var StartDirection = ' ';
game.direction = StartDirection;

Lesson 10: Start Direction