← All work

[ Solo ] Completed

Simon Says Game

A classic memory game built with vanilla JavaScript.

What it is

A web-based implementation of the classic electronic memory game 'Simon Says.' The game generates a sequence of colors that the player must repeat. Each successful round increases the sequence length, testing the player's memory and focus. This project was built using vanilla HTML, CSS, and JavaScript to demonstrate core DOM manipulation and event handling skills.

Decisions

Build log

  1. Structured the game layout with HTML and styled the colored buttons using CSS.
  2. Wrote the core game loop logic, including sequence generation and level progression.
  3. Implemented the `flashButton` function to provide visual feedback for the game's sequence.
  4. Added event listeners to the buttons to capture and validate user input against the generated sequence.
  5. Included logic for game-over conditions and a restart mechanism.