This branch uses ES6 classes and modules. If you want to see a simplified ES5 version (it need less tooling) go to the ES5 branch please.
In order to play the game you'll need to bundle the application.
$ npm install # Install the application dev dependencies
$ npm run build # Bundle the application using rollup
- Press
Start game
. - Follow the light sequence.
- Play as long as you want.
Take a look at the original TV spot.
In order to run the tests, you'll need to install testem
.
$ npm install testem -g # Install testem globally
Once installed, execute the tests with Chrome
$ npm run test
Alternatively run the tests using PhantomJS
$ npm install -g phantomjs-prebuilt # Install PhantomJS if you haven't
$ npm run ci # Run the tests using PhantomJS