You use the arrows to move the snake around and try to eat the frogs. Your body keeps growing. You cannot run into yourself, or the edge, or else you will die. Be strategic about the route you take, otherwise you may find a frog in the middle of your body, making it very hard to access.