Skip to content

MontealegreLuis/simple-simon

Repository files navigation

Simple Simon Game

Build Status codebeat badge

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.

Installation

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

How to play

  1. Press Start game.
  2. Follow the light sequence.
  3. Play as long as you want.

Take a look at the original TV spot.

Tests

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