A Phaser 3 demonstration project powered by Gulp and Webpack, based on the tutorial titled "Snake Plissken", published on Phaser World #85.
NOTE: This repository is not a Phaser 3 project template. If you're looking for a easier way to start a new game project from scratch,
generator-phaser-plus
is your best bet.
Use the left (←) and right (→) arrow keys to rotate and change direction.
For every five pieces of food eaten, the speed increases.
NOTE: It is highly recommended that you have the latest long-term support (LTS) release of Node.js installed to use this project. Yarn is the preferred package manager to manage dependencies.
Clone this repository and install the project dependencies using yarn
. To play the sample game, just run yarn start
.
Distributed under the terms of the MIT License. Portions of the game code are derived from a previous work by Richard Davey (@photonstorm).