Use the arrow keys or wasd to control the snake's direction.
Thanks to the book "20 games to create with scratch" by Max Wainewright for the idea