snake game that works

I made the snake so it gets longer when it eats apples.