/javascript-button-game

Switch all buttons off to win!

Primary LanguageJavaScript

javascript-button-game

Switch all buttons off to win!

This is a fun little game I made for a coding challenge.

Demo:

https://thewilliamyao.github.io/javascript-button-game/

Features:

  1. Decent looking CSS
  2. Randomized button association
  3. A congratulations screen
  4. Move counter
  5. Dynamically add button
  6. Dank meme (just one)
  7. Allow multiple associations, even when it's impossible
  8. An option to give up when user made more than 35 moves
  9. Allow user to go back and change number of buttons and associations
  10. Extensive error checking