Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.32 KB

File metadata and controls

39 lines (28 loc) · 1.32 KB

🎮 Simon Says Game

Simon Says Preview

Description

A memory game where players repeat sequences of colored buttons. Each round adds a new color to the sequence, and the player must remember and repeat it correctly to advance levels.

Features

  • Start button to begin the game
  • Colored buttons (Green, Red, Yellow, Blue) that flash
  • Adds a new color each level
  • Level tracking and Game Over message

Concepts Practiced

  • DOM manipulation
  • Event listeners
  • Async functions and Promises
  • Game logic and sequence handling
  • CSS animations and visual feedback

Bonus Challenge

  • Show the score after the game is over (score = number of levels completed).
  • Add sound effects for each button click.
  • Add glowing animation for each button to make the game more interactive.

Live Demo

<iframe src="https://codesandbox.io/embed/849xrz?view=preview" style="width:100%; height: 500px; border:0; border-radius: 4px; overflow:hidden;" title="eager-pascal-849xrz" allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking" sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts" ></iframe>