Multiplayer game built using HTML5 and node.js. Live Version Here
The system is pretty simple from the outside, so I think you will notice all of the features.
- User Accounts
- Live Multiplayer and Practice Modes
- Motions, Gameplay, and Graphics
-
Clone this repo
$ git clone git@github.com:chiragpat/Swarm.git
-
Install dependencies
$ npm install
-
Set environment variable SWARM_DB_URL to the url of your mongo database.
$ echo "export SWARM_DB_URL=\"Your mongodb url goes here\"" >> ~/.bash_profile
To start game server
$ node app.js
Then go to URL
http://localhost:3000
To change ports add environment variable PORT with the port you want to run the app on.
$ make test
To show test coverage, make sure you have jscoverage installed and then run
$ make test-cov