Made with Game Generator

Evergrowing Snake

In Evergrowing Snake, the player controls a snake that grows in size every step it moves. The objective is to navigate the snake without hitting the walls or its own body. If the snake does collide with itself, it eats that part, shortens, and the player earns points. The challenge increases as the snake grows longer with each movement, making it harder to avoid collisions. The game ends when the snake runs into a wall.

Prompt

It's snake but you you keep increasing size every step it moves. When hitting itself it should eat that part and increase a score.