Made with Game Generator

Apple Assault

In Apple Assault, control a snake that grows by eating apples. Each apple eaten spawns a turret that shoots at the last apple, with each shot reducing the apple's health by 1. Avoid projectiles and navigate carefully to survive and score high. The game ends if the snake hits a wall, itself, or a projectile.

Prompt

Snake game where you take apples and get longer. After taking an apple a turret is spawned that shoots a projectile at the last apple once a second. A projectile is destroyed when hitting an apple, the snake or the walls. Furthermore, when a projectile hits an apple it should deduct 1 hp from it. Apples start at 10 hp and gets destroyed when at 0 hp, just as if the snake eats it.