Skip to content
Benedek Vartok edited this page Nov 19, 2014 · 31 revisions

nodeGame Developer Guide

DISCLAIMER

Be advised that the steps described in the following sections are a work in progress and may not work at the moment.

Installation

The README describes a simple way to get the program running, but for development it might be more useful to work with the more recent Git-version and let npm only install the dependencies:

  1. git clone [email protected]:nodeGame/nodegame.git
  2. cd nodegame
  3. npm install

That way, you will also get Git's version-control files in the root nodegame/ directory and the submodules, such as nodegame/node_modules/nodegame-client/.

Compiling the Code

If you make changes in the code, you will have to run some build scripts to update the files necessary for running nodeGame:

  1. Do your changes in the module or your choice.
  2. In that module: node bin/make.js build
  3. Go to the server module (nodegame/node_modules/nodegame-server) and do: node bin/make.js build-client

After these steps, the program should be good to go.

Writing Code

TODO

Writing Documentation

TODO

Clone this wiki locally