Skip to content

supernelis/softwarewerewolves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

softwarewolves

Simple XMPP implementation of the master of ceremonies of the werewolves party game.

To run on Mac OS X:

  1. download and install node
  2. download and install Xcode
  3. download and install MacPorts
  4. install icu headers with MacPorts
    sudo port install icu +devel
  5. install node-stringprep
    npm install node-stringprep
  6. install node-xmpp
    npm install node-xmpp

For tests should and mocha are used. Install the former as follows

$ npm install should

Use sudo to install mocha to be sure that npm creates a link in /usr/local/bin

$ sudo npm install mocha

To run the tests, make sure that mocha is in your path, cd into the git repository and run

$ mocha

Or, even better, use the --watch and --reporter options:

$ mocha --reporter spec --watch

The examples directory shows how to use the library. jabber_example.js sets up a game co-ordinated by some bots connecting to the jabber.org XMPP server. To run from your git repository

$ node examples/jabber_example.js

About

Simpele XMMP implementatie van softwarewerewolves

Resources

Stars

Watchers

Forks

Packages

No packages published