/simon

Primary LanguageJavaScript

SIMON

A game for generating patterns which are expressed through lights flashing, and then allowing the user to replicate the pattern by clicking on the same lights in the same order.

Current Features

  • Users can click start to have the application generate a pattern, which gets flashed on the screen
  • Users can match the pattern by clicking on the same lights
  • Users can decide to turn on a timer (which sets a countdown for how quickly the user must answer)
  • Users can decide to turn on 'reverse' (which requires the user to enter the pattern backwards)
  • User can change the speed for how quickly the lights flash
  • The application checks if the pattern is correct and/or if the user has started entering the pattern within the alloted time (if the timer is on)
  • If the pattern is correct, the level increases, the level points are calculated, and their overall score is increased
  • If the pattern is incorrect (or they do not start answering in time), the application checks if the user's score is within the top ten all time (only on the current computer) and then displays the top ten scores (including the user's if appropriate)

Technology Used

  • HTML/CSS
  • Javascript/Jquery

Installation Instructions

To set up the app locally on your own system:

  • Fork and clone the project repository
  • Get coding!

Running the tests

Note: no automated test have been created so far for the program. It's only been tested through trial and error.

Contribute

Source code: https://github.com/sloan-holzman/simon/tree/gh-pages

Authors

Sloan Holzman (sloan.holzman@gmail.com)