Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

Latest commit

 

History

History
42 lines (34 loc) · 1.01 KB

README.md

File metadata and controls

42 lines (34 loc) · 1.01 KB

Mavis

This is a multiplayer typing game by Timothy Daniell, Sebastian Oelke and Jahn Saito developed at the 2nd Babbel Hackday in 2014.

Required modules

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

Compiling Mavis

###Compile client sources###

coffee --output public/javascript/client --compile src/*.coffee

(Add --watch for auto compilation.)

###Compile server sources###

coffee --compile module/*.coffee

Playing Mavis

###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.