Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.35 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.35 KB

beercamp

Realtime multiplayer game written in Node.js and JavaScript using Socket.IO and canvas. Client interpolation from authoritative server running Box2D physics simulation in child_process fork.

Getting setup

Here are the steps required to run this project locally on a Mac. This assumes you have brew installed.

  1. Clone this repo: git clone --recursive [email protected]:nclud/2013.beercamp.com.git
  2. Install Node.js (Use the installer at http://nodejs.org/)
  3. npm install
  4. bundle
  5. grunt
  6. node server.js
  7. Open http://localhost:4000
  8. Play!

The first time through, you may need to run grunt compass then grunt.

Deploying to production

Deploy using Capistrano, so Ruby must be installed.

  1. cap deploy
  2. Open http://affric.browsermedia.com

Generate optimized client dist

Concatenated, minified and versioned assets

npm install -g grunt-cli
grunt

Run jshint and csslint

grunt test

license

Creative Commons License

beercamp 2013 is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.