imjacobclark / pixi-snake

Snake

Home Page:https://snake.jacobclark.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Snake

https://snake.jacobclark.xyz


Languages

Language:JavaScript 96.0%Language:HTML 4.0%