statox / vue-p5-snake

Snake written with vue and vue-p5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-p5-snake

Snake written with vue and vue-p5

Play

https://kinrany.github.io/vue-p5-snake/

Use WASD keys to move

Clone repo

git clone https://github.com/Kinrany/vue-p5-snake.git
cd vue-p5-snake
npm install

Edit source

npm run dev

Then use your favourite static server, like http-server:

npm install --global http-server
http-server -o

Build

npm run build

Then copy index.html and dist/index.js to save the game elsewhere.

Documentation

None, but feel free to ask anything about Vue, p5, vue-p5 or this project in vue-p5/issues.

About

Snake written with vue and vue-p5


Languages

Language:Vue 74.3%Language:JavaScript 23.0%Language:HTML 2.7%