Arrow keys set your direction. Eat the snacks, but avoid your body or the edge or else you lose. There is a bug that stops the game when your size is 60. I don't know why it happens.
Scratch For Kids helped me make this.