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.
- 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
- DOM manipulation
- Event listeners
- Async functions and Promises
- Game logic and sequence handling
- CSS animations and visual feedback
- 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.
<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>
