Skip to content

anandritishaa07/Memory-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simon Says Game

A simple memory game where players must replicate a sequence of button flashes. The game becomes progressively challenging with each level.

Project Overview

This project is built using HTML, CSS, and JavaScript to deliver an interactive browser-based game.

Starting the Game:

  • Press any key to start the game.
  • The game begins at Level 1 and generates a random button flash.

Gameplay:

  • Click on the buttons in the same sequence as displayed.
  • Progress to the next level if the sequence is correct.

Game Over:

  • If an incorrect sequence is clicked, the game ends.
  • The game displays your score and prompts you to restart.

Key Features

  • Dynamic Levels: Each level adds a new button to the sequence.
  • Visual Feedback: Button flashes indicate the sequence.
  • Game Reset: Automatically resets upon game over.

Technologies Used

  • HTML: Structuring the game layout.
  • CSS: Styling the buttons and animations.
  • JavaScript: Implementing the game logic and interactivity.

How to Run the Project

  1. Clone the repository:

    git clone https://github.com/your-username/MemoryGame.git
  2. Open the folder in VS Code.

  3. Open index.html in your browser to play the game.

Future Improvements

  • Add sound effects for button flashes.
  • Implement a leaderboard to save high scores.
  • Support for touch events on mobile devices.

What I Learned

Working on this project enhanced my understanding of:

  • DOM manipulation using JavaScript.
  • Event handling for interactive gameplay.
  • Creating dynamic animations with CSS.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published