Multiplayer metagame to which you can add your own game.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
public
test
views
.gitignore
.nodester.appconfig
README.md
server.js

README.md

Multiplayer metagame to which you can add your own game.

To install:

  1. install nodejs and npm

  2. install socket.io, jade, underscore and express through npm

    git clone git://github.com/vysogot/node-multi-game.git

To run:

change in multiply.html port from 80 to 8080
node server.js

To play:

http://localhost:8080/

What it is about?

Having fun! Idea behind is to develop multiplayer games through a simple template that is in game.js

How to create my own game?

You can add your game in new folder in lib/games/yourGame/ with two files: yourGame.js and yourGame.html Soon it will need test files also.

yourGame class needs to inherit after Game class. Idea is to make a that can:

* be initialized
* interpret a client message
* response with a client message

Handling different games is not implemented yet though :)

Feel free to contribute.