JavaScript Snake Progressive Web App (PWA)

JavaScript Snake Progressive Web App (PWA)

The Blog Post –
GitHub Repo –
Play the Game –

Progressive Web Apps From Beginner to Expert –

The game is a JavaScript/HTML port of the popular Snake game on old Nokia phones. The object of the game is to guide a ‘snake’ to eat a dot. When the snake eats a dot it grows.

The more the snake grows the faster it gets and the more difficult it is to navigate.

The game is more addictive than you would think. Unfortunately the code does not work with touch at this point.

The source code is very simple, but the UI for this version is rather lacking. Since updating this code repository I found a few other repositories with slightly better user interfaces. I am hoping to get some time in the near future to update the UI and make it touch enabled.

To play the game you can use the four arrow keys on your keyboard to direct the snake. Just don’t run out of room or hit the snake!

Get social with Love2Dev on:

Leave a Reply

Your email address will not be published. Required fields are marked *