Skip to content

ShreyashBhardwaj/Memory-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here’s a complete README.md for your project:


🎮 Simon Memory Game

A simple implementation of the classic Simon Game built with HTML, CSS, and JavaScript. The game challenges players to remember and repeat an increasing sequence of colors. Each level adds a new color to the sequence.


🚀 Features

  • Random Sequence Generation – Each round adds a new random color.
  • Progressive Difficulty – Pattern grows longer every level.
  • Interactive Animation & Sounds – Visual and audio feedback for clicks.
  • Game Over Detection – Resets when a wrong color is clicked.
  • Responsive Design – Works on modern browsers.

📂 Project Structure

├── index.html      # Main HTML file
├── styles.css      # Styling for the game
└── index.js        # Core game logic in JavaScript

🛠 Technologies Used

  • HTML5 – Game layout.
  • CSS3 – Styling and animations.
  • JavaScript (Vanilla) – Game logic and interactivity.

▶️ How to Play

  1. Start the Game Press any key to start the game.

  2. Watch the Pattern A color will flash with a sound. This is the start of the sequence.

  3. Repeat the Pattern Click the buttons in the correct order. Each level adds a new color to the sequence.

  4. Game Over If you click the wrong color, the game ends. Press any key to restart.


🔑 Controls

  • Keyboard: Press any key to start/restart.
  • Mouse: Click on the colored buttons to repeat the sequence.

📸 Screenshot

Game Start On Level 3 Game Over


🧩 Future Improvements

  • Add high score tracking.
  • Add speed increase per level for extra challenge.
  • Add start button for better UX on mobile.

🏗 How to Run

Simply open index.html in any modern browser. Or use a local server:

About

A HTML,CSS & JS Website where we play the Memory Game

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors