/multiplayer_accelerometer

Hackaton prototype of a game that uses websockets and the accelerometer on mobile devices

Primary LanguageRuby

###Install [Node.js](nodejs.org)

If you’re using the [Brew](mxcl.github.com/homebrew) package management system, use that:

brew install node

Or follow the [Node build instructions](github.com/joyent/node/wiki/Installation)

###Install [Redis](code.google.com/p/redis)

If you’re using the Brew package, use that:

brew install redis

Or follow the [Redis build instructions](redis.io/download)

###Install Juggernaut

Juggernaut is distributed by [npm](npmjs.org), you’ll need to [install that](npmjs.org) first if you haven’t already.

npm install -g juggernaut

###Install the [Juggernaut client gem](rubygems.org/gems/juggernaut)

This step is optional, but if you’re planning on using Juggernaut with Ruby, you’ll need the gem.

gem install juggernaut

##Running

Start Redis:

redis-server

Start Juggernaut:

juggernaut