This is a multiplayer typing game by Timothy Daniell, Sebastian Oelke and Jahn Saito developed at the 2nd Babbel Hackday in 2014.
We require some global packages as tools and some local dependencies.
###Global Coffee Script compilation, etc.###
npm install -g coffee-script browserify
The browserify "lets you require('modules') in the browser by bundling up all of your dependencies.".
###Local node.js packages###
npm install express socket.io
###Compile client sources###
coffee --output public/javascript/client --compile src/*.coffee
(Add --watch
for auto compilation.)
###Compile server sources###
coffee --compile module/*.coffee
###Run server from CoffeeScript in development mode###
coffee index.coffee
Connect from servers on port 5555: http://your.ip.is.here:5555/
. Click "Join the game".
Currently, the server needs restarting after every game.