It is my own implementation of Snake Game in HTML 5 canvas using Phaserjs.
Try the game at https://nmanumr.github.io/SnakeGame/index.html
Note: This game is only test and targeted to Chrome v58.
In order to run it on your machine you may have to follow the following steps:
- Clone the repo using
git clone https://github.com/naumanumer/SnakeGame.git
- Install packages using
npm i
- run the server using
node serve.js
(from project root)
There is no project dependencies but there are following dev-dependencies:
- Nodejs
- Git (optional)
- Whenever apple is generated on any of the wall it could cause any unexpectable error.
- Snake passes from some of the hurdles unexpectedly