Snake

HTML5 Snake game written in JavaScript, Pixi.js, Tensorflow.js and Canvas.

Play

You can play it here: https://snake.jacobclark.xyz

You can use WASD, Left, Right, Up and Down arrows or your voice "left", "right", "up" and "down" commands.

To use your voice, you must be using a moden browser and give Microphone permissions to the app.

Developing

Pixi.js, TensorFlow.js, Webpack, Babel and Jest are used to produce this game.

Building and running locally

$ npm run build
$ npm run serve

Snake will then be available at: http://localhost:8000

Running tests

$ npm run test