This project implements the classic "Simon Says" memory game using HTML, CSS, and JavaScript. The game challenges the player to remember and repeat a sequence of colors.
[Click here to explore the website]
This project implements the classic "Simon Says" memory game using HTML, CSS, and JavaScript. The game challenges the player to remember and repeat a sequence of colors.
- HTML: Structures the game's elements, including the tiles, buttons, and display areas.
- CSS: Styles the game elements, defining colors, layout, and visual effects.
- JavaScript: Implements the game logic, including generating the color sequence, handling user input, checking the sequence, and managing game state.
- Color Sequence: The game presents a sequence of flashing colored tiles (red, yellow, green, and purple). The sequence gets longer with each round.
- User Input: The player must reproduce the sequence by clicking on the tiles in the correct order.
- Levels: The game progresses through levels, with each level increasing the length of the color sequence.
- Game Over: The game ends if the player clicks the wrong tile or fails to reproduce the sequence correctly.
- Scoring: The game displays the level reached before game over.
- Start/Restart: A button allows the player to start a new game or restart the game after game over.
- Visual Feedback: Tiles light up when they are part of the sequence or when the user clicks them.
- User Messages: The game displays messages to inform the player about their turn and the current level.
- Press any "key" to start the game.
- Watch the sequence of flashing colored tiles.
- Repeat the sequence by clicking on the tiles in the same order.
- If you reproduce the sequence correctly, you advance to the next level.
- If you make a mistake, the game ends.