A brawl-type multiplayer game. Currently in development and made available at friends-brawl.herokuapp.com.
Frontend uses Phaser gaming framework and multiplayer made possible via Socket.IO.
ES6 support via Babel and bundle created using Webpack.
Node.js is required to install dependencies and run scripts via npm
.
Command | Description |
---|---|
npm install |
Install project dependencies |
npm run-script build |
Builds code bundle with production settings (minification, uglification, etc..) |
node server.js |
Starts server and listens on $PORT (or 8081 by default) |
After cloning the repo, run npm install
from your project directory to install dependencies.
Then you can run the command npm run-script build
, and your code will be built into a single bundle
located at dist/bundle.min.js
.
You can then start the server by running node server.js
, which will make the game
available at localhost:8081
.