arrow keys to change where the snake is looking, it constantly moves forward. the ball bounces off the snake if it touches it, use that mechanic to make it so the ball doesn't touch the edge or the aliens. if you touch the apples your snake gets longer, but the max length is 15 squares. if the ball just touches the snakes head, it wont bounce.