JavaScript Snake Progressive Web App (PWA)

JavaScript Snake Progressive Web App (PWA)

The Blog Post – https://love2dev.com/blog/javascript-snake-game/
GitHub Repo – https://github.com/docluv/JavaScript-Snake
Play the Game – https://snake.love2dev.com

Progressive Web Apps From Beginner to Expert – http://PWACourse.com

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:
Facebook: https://www.facebook.com/Love2dev
Twitter: https://twitter.com/ChrisLove
G+: https://plus.google.com/b/110904107389779237581/?pageId=110904107389779237581
Linkedin: https://www.linkedin.com/in/love2dev
Pinterest: https://www.pinterest.com/docluv/

Leave a Reply

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