Skip to content

Mo-Shakib/Simon-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simon Game

A simple, web-based implementation of the classic Simon Game, where players need to memorize and replicate a sequence of colors that progressively becomes longer. The game challenges the player's memory and reflexes as the sequence speeds up over time.

Demo

Click here to play the Simon Game!

Features

  • Interactive Gameplay: Replicate the color pattern shown by the game.
  • Progressive Difficulty: The sequence grows longer with each round, testing your memory.
  • Sound Effects: Each color is paired with a distinct sound.
  • Responsive Design: Works across various devices and screen sizes.

How to Play

  1. Press any key to start the game.
  2. Watch the color sequence displayed by the game.
  3. Repeat the sequence by clicking the colored buttons in the correct order.
  4. With each correct sequence, the game adds another color to the pattern.
  5. If you make a mistake, the game ends, and you can restart by pressing any key again.

Technologies Used

  • HTML: Structure of the game.
  • CSS: Styling and layout of the game.
  • JavaScript: Logic for generating and verifying the sequence, handling user input, and adding interactivity.

Getting Started

To run the game locally:

  1. Clone this repository:
    git clone https://github.com/Mo-Shakib/Simon-game.git
  2. Open the index.html file in your browser to play the game.

Project Structure

  • index.html: The main HTML file that contains the game's layout.
  • style.css: The file responsible for the styling of the game.
  • game.js: The JavaScript file containing the game logic.

Future Enhancements

  • Scoreboard: Implement a high-score tracking system.
  • Difficulty Levels: Add different levels of difficulty (e.g., Easy, Medium, Hard).
  • Multiplayer Mode: Add a feature allowing multiple players to compete.

License

This project is open-source and available under the MIT License.