Just a simple snake Game. Always wanted to make a Snake game with Vanilla JS. Works using CSS grid for positioning and interval for the games frame ticking.
Download/clone the zip file and open the index.html in a browser of your choice.
If you feel that is too much effort, fair enough, you can play it here on Vercel.
Alternatively, you can pull the docker image with docker pull laynehutch/snakegame
.
You can use the arrow keys on your keyboard to direct the snake. Collect food and dont collide with yourself. Both the top and bottom walls can be used to reach the opposite side.