Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .idea
Octocat-spinner-32 config
Octocat-spinner-32 html
Octocat-spinner-32 runner
Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README
Octocat-spinner-32 backlog.txt
Octocat-spinner-32 mannapuuro.iml
Octocat-spinner-32 run-random-contenders.sh
Octocat-spinner-32 run-server.sh
Octocat-spinner-32 run-tests.sh
README
INSTALLATION (partly OS X specific)

$ brew install node npm
$ npm install underscore vows socket.io websocket-client

Plus, in your .profile:

export NODE_PATH=/usr/local/lib/node/:$NODE_PATH

Then

source YOUR_PROFILE

RUNNING A DEMO

chmod u+x *.sh
./run-random-contenders.sh
./run-server.sh
Open http://localhost:9999/ (tested OK with Chrome, Safari. FAIL with Firefox 3.6.8, 4.0 RC)
Click on the logo.
Watch the show.

RUNNING TESTS

./run-tests.sh

RUNNING SERVER

./run-server.sh

Server will read configuration and round configuration from config/config.json and config/round-config.json.
If you want to use different configuration, you can specify your configuration files on the command line, like here:

./run-server.sh myconfig.json myroundconfig.json
Something went wrong with that request. Please try again.