Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A realtime multiplayer browser game written in Coffeescript - Node.js, Raphael.js and Knockout.js
CoffeeScript Python JavaScript

This branch is 475 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
client
server
themes
.gitignore
Makefile
README.md
config.coffee
statics.py

README.md

Building

Use the toplevel makefile. Have a look at the targets.

There also a staticfetcher called by the Makefile that allows pulling in external resources (e.g. jQuery). They are defined in statics.py. Don't add the fetched files to Git!

Code Review

Let's do semi-proper code review: Everyone can just commit, but make sure every commit is reviewed by somebody else shortly after.

Testing

Make sure you know how to write jasmine tests. Commit the tests with the code.

Links

Installing on OS X

Basic setup

  • install homebrew
  • run brew install node to install node.js
  • run curl http://npmjs.org/install.sh | sh
  • run npm install -g coffee-script to install coffeescript
  • run brew install wget to ensure the make file can download the libraries
  • run make inside the project root to install all the library files

Installing Sublime

  • Download sublime
  • Add Package manager
    • Visit package manager and copy the huge chunk of text
    • Press ctrl+(the plus/minus key thignn top left of keyboard), copy in the chunk and press enter
  • Now install coffeescript package
    • cmd+shift+p
    • type install, enter
    • start typing coffeescript, enter
  • Install git package
    • Same as Coffeescript but typing git
  • Optional: Allow output to Sublime console on build

    • Create CoffeScript.sublime-build file in ~/Library/Application Support/Sublime Text 2/Packages/User/
    • Add this to the file:

         {
         "cmd": ["coffee", "$file"],
         "selector" : "source.coffee",
         "path" : "/usr/local/bin"
         }
      

Setting up server

  • Go to the server directory cd server
  • run sudo npm link to install dependencies

Running the server(s)

  • From top level server
    • make server, this starts the main node server
    • make dev, this starts the second python server to serve assets
Something went wrong with that request. Please try again.