This is a first application made with node.js for my convenience reasons. As it's basically a static HTML app it easy to pull it out on othe http platforms.
install decent node js version: https://github.com/joyent/node/wiki/Installation
(on mac I would go for homebrew)
# git clone [email protected]:marcbaechinger/firewire.git
# cd firewire
# npm install
# node app.js
Now start a browser and go to http://localhost:3000/index.html
Currently tested on osx with Chrome and Firefox Aurora.
-
On start you should see the basic UI on the left indicating current time, number of failures and a display for the current state of the game startet/milestone1,2,4/ended. The game is not started yet.
-
Move the mouse cursor to the top right corner to unveil the start game button. Press it. The browser aske for permission to use the webcam (you need on btw :-)
-
The 'game' is initialited now. Now we could start 'challenges'.
-
A 'click' start the challange.
-
Left arrow keystroke is the first milestone.
-
Top arrow keystroke is the second milestone.
-
Right arrow keystroke is the thrid milestone.
-
Down arrow keystroke represents a failure (wire collision)
-
Space key is the goal at the end of the wire.
-
At each of these event a picture is taken and displayed in the browser (no backend yet).
Once hte end is reached the unveiled 'resert' button restarts the 'challange'.