Skip to content

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Multiplayer metagame to which you can add your own game.

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages