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

Watchers

Forks

Releases

No releases published

Packages

No packages published