Fast, multiplayer, physics-driven tennis in two dimensions.
-
Install
node
&npm
. -
Install
bower
globally.npm install -g bower
-
Clone and enter the polyball repo.
git clone git@github.com:polyball/polyball.git
-
Install dependencies.
npm install --production bower install
-
Follow setup instructions.
-
Edit polyball config file,
polyball.json
. -
Run the server.
node polyball/Server.js
Issues Ready | Issues In Progress | Build Status |
---|---|---|
-
Install
gulp
globally.npm install -g gulp
-
Install dev dependencies.
cd polyball/ npm install
-
[WINDOWS ONLY] Replace the polyball module symlink for browserify with a windows symlink
Start
cmd
, probably as an administrator. Navigate to the polyball project directory and run:cd node_modules mklink /D .\polyball ..\polyball
and confirm the symlink file replacement if prompted. Now avoid pushing that new symlink to the repo:
cd .. # now in project root directory git update-index --skip-worktree node_modules/polyball
-
To automatically watch all client source files and build them on change, run
gulp watch-js
from the project root. The gulp process will persist and report builds and changes.