Skip to content

A multi-player, browser based implementation of the game "Equations" (http://agloa.org/equations/)

License

Notifications You must be signed in to change notification settings

meltuhamy/equations-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Equations Game Group Project

This is a multi-player, browser based implementation of the game "Equations" found here: http://agloa.org/equations/

This project is a third year group project done as part of the Computing degree at Imperial College.

Team:

  • Mohamed Eltuhamy
  • James Lawson
  • Tristan Pollitt
  • Udara Gamalath
  • Alejandro Alejandro Garcia Ochoa

Supervisor: Dr. Krysia Broda

Steps to set up:

  1. Install node (http://nodejs.org/)
  2. npm install -g coffee-script (if in labs, remove the -g)
  3. In the project directory, type npm install. This will fetch and install all required dependancies locally.
  4. Type cake run
  5. Open localhost:8080 in a browser (chrome) window.

Some notes:*

  • Type cake. If you see some tasks for the project, then everything's fine.
  • If you can't see the tasks, you will need to install coffee-script globally (npm install -g coffee-script). If you are unable to install globally, then instead of using cake, type ./node_modules/.bin/coffee.
  • Use this pattern when you see me telling you to type a command.

(NEW!) Using iMacros to speed up testing

  1. Make sure you're using Google Chrome
  2. Install the iMacros chrome extension http://goo.gl/BR3KC
  3. Right click on the iMacros icon (beside address bar). Click 'Options'
  4. Change the "Macros directory path" to the path in your project folder (there is now an iMacros folder in the project directory. Use that.)
  5. Click the iMacros icon and double click on a macro to run it. (OnePlusTwoStart expects a new window with 1 tab to work properly)

Debugging

  1. Make sure you have all the requirements (see steps above). Chrome is required (or Safari). Note node-inspector must be in your path/aliases.

  2. Open two terminal windows, navigate to the project directory.

  • On terminal window 1, type: cake debug. This will compile everything and start the server for debugging.
  • On terminal window 2, type: node-inspector
    • This should show you a URL that you should go to in your browser
    • Point your browser to this URL now in a new tab/window.
    • You'll notice the file server.js is open and there's a breakpoint on the first line.
  1. Now that you have an inspector open, navigate to localhost:8080, which is where our project is hosted.

  2. Done :) There is a default break-point at line one.

About

A multi-player, browser based implementation of the game "Equations" (http://agloa.org/equations/)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published