sweded micromachines

Language: JavaScript

Autobahn README

Autobahn is sweded micromachines


Install git and node.js (currently version 0.4.2)

$ sudo port selfupdate
$ sudo port install git nodejs

Checkout the code and submodules:

$ git clone https://[username]@github.com/full-baud/autobahn.git
$ git submodule init
$ git submodule update

Adding submodules

Where we depend on other peoples code, we can tell git to add it as a submodule. This makes it appear to be part of our code tree, whilst still hosted in it's own repo.

$ git submodule add https://github.com/ncr/node.ws.js.git server/node_modules/

Submodules in use are:

  • npm
  • jasmin

See .gitmodules for the authoritative list.

Unit tests

Added jasmine-node test framework. $ git submodule add https://github.com/mhevery/jasmine-node.git test

Put unit tests in the spec directory. To run node.js tests $ cd test $ node specs.js

Screen Shots

Teh awesomenesses.

The Lounge

The Track

Autobahn in space



Server side, I've added in a check for users trying to update other users games or personal details. Since there is a one to one relationship with players and the socket they connect on, we could do away with the userId parameter to all of the request methods.

Project Statistics

Sourcerank 4
Repository Size 1.91 MB
Stars 4
Forks 0
Watchers 4
Open issues 0
Dependencies 0
Contributors 4
Tags 0
Last updated
Last pushed

Top Contributors See all

Alex Potsides Oli Evans Alan Shaw David Parry

Something wrong with this page? Make a suggestion

Login to resync this repository