Use the arrow keys to guide the snake to eat the apples. Each apple make the snake grow longer. Don't crash into yourself or the walls!
Learn to program games with this free online Scratch course: https://inventwithscratch.com/class This program works because the "body" sprite constantly moves to the "head" sprite and clones itself. After a short wait, the clone turns to a lighter shade of green. If the head detects it touches this lighter green, the program knows the snake has crashed into itself. After another short pause, the clone disappears. Since the clones all disappear in order, it gives the illusion of the snake body moving.