No description or website provided.
JavaScript Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
audio
config
css
dist
font
game
html
images
sass
vendor
.editorconfig
.gitignore
.gitmodules
Capfile
Gemfile
Gemfile.lock
Gruntfile.js
LICENSE
README.md
config.js
package.json
server.js

README.md

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 git@github.com: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.