No description or website provided.
JavaScript Shell
Permalink
Failed to load latest commit information.
.idea remove workspace.xml Jan 10, 2011
config restored the original config file for testing with local clients Mar 21, 2011
html Fix layout bug Mar 3, 2011
runner
src fixing tests.. Mar 10, 2011
test all tests pass again Mar 10, 2011
.gitignore
README Update README, add script for running random contenders Mar 21, 2011
backlog.txt update backlog Jan 10, 2011
mannapuuro.iml include IDEA files Jan 10, 2011
run-random-contenders.sh Update README, add script for running random contenders Mar 21, 2011
run-server.sh Initial commit from old repository Dec 30, 2010
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