This is a clone of the popular Snake game from the 80’s.
Feel free to reskin it if you like it.
On codeguppy.com, there is a tutorial under “Games” on how this is built!
P.S. Game has a few glitches when embedded. You can run in full screen from this link: