set the snake direction

Set the snake direction for my snake website project.