Skip to content
ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Simon Game

A simple memory-based game built using HTML, CSS, and JavaScript.

The game generates a random sequence of colors, and the player must repeat the sequence correctly to move to the next level.

๐Ÿš€ Features

๐ŸŽจ 4 colored buttons (Yellow, Red, Purple, Green)

๐Ÿ“ˆ Level progression system

โœจ Flash animation effect

โŒ Game over detection

๐Ÿ”„ Restart by pressing any key

๐Ÿง  Memory-based gameplay

๐Ÿ› ๏ธ Technologies Used

HTML5

CSS3 (Flexbox + Grid)

JavaScript (DOM manipulation + event handling)

๐Ÿ“‚ Project Structure Simon-Game/ โ”‚ โ”œโ”€โ”€ index.html โ”œโ”€โ”€ style.css โ”œโ”€โ”€ app.js โ””โ”€โ”€ README.md

โ–ถ๏ธ How to Run

Download or clone this repository:

git clone https://github.com/your-username/your-repo-name.git

Open the project folder.

Open index.html in your browser.

Press any key to start the game.

๐ŸŽฏ How to Play

Press any key to start.

Watch the flashing color.

Click the buttons in the same sequence.

Each level adds one new color.

If you click the wrong color โ†’ Game Over.

Press any key to restart.

๐Ÿง  Game Logic Overview

The game stores a random sequence in gameSq.

The user clicks are stored in userSq.

After each click, the program checks if the sequence matches.

If correct โ†’ Level increases.

If wrong โ†’ Game resets.

๐Ÿ“ธ Preview

You can add a screenshot here later:

Simon Game Screenshot

๐ŸŒŸ Future Improvements

๐Ÿ”Š Add sound effects

๐Ÿ“ฑ Make it mobile responsive

๐ŸŽจ Add smooth transitions

๐Ÿ† Add high score tracking

๐ŸŽต Add background music

๐Ÿ“Œ Author

Sourav Verma B.Tech ECE Student

๐Ÿ“„ License

This project is open-source and free to use.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages