Fork of someones paper io clone
Go to file
StevenJoeZhang a7d298f625 Const names
2019-02-03 14:49:23 +08:00
public Const names 2019-02-03 14:49:23 +08:00
src Const names 2019-02-03 14:49:23 +08:00
.gitignore Format code 2019-01-16 11:07:52 +08:00
client.js Const names 2019-02-03 14:49:23 +08:00
config.json Const names 2019-02-03 14:49:23 +08:00
LICENSE Create LICENSE 2017-02-23 22:37:07 -06:00
package.json Username 2019-01-16 16:00:38 +08:00
README.md Const names 2019-02-03 14:49:23 +08:00
server.js Const names 2019-02-03 14:49:23 +08:00

Paper.IO

This is a clone of the original Paper-IO released by Voodoo, except for one aspect. This will attempt to implement a multi-player aspect of the game (like a real IO game). Currently this has a playground at this link. It's a demo version of what to come. Hopefully by that time, the necessary server infrastructure could be obtained.

This is just a fun side-project for me. If you would want to use this code, it would be nice to let me know.

Install

git clone https://github.com/stevenjoezhang/paper.io.git
cd paper.io
npm install

Running

After cloning this repository, run the follow commands to install dependencies and set up server. Enjoy!

npm start

Bots

node src/bot/paper-io-bot-mode.js ws://localhost:8081

Build

sudo npm install -g browserify uglify-es
browserify client.js | uglifyjs > public/bundle.js

TODO

加快渲染速度

优化胜负判定

License

This is licensed under MIT. As such, please provide due credit and link back to this repository if possible.

Original Repo: