Skip to content

Riyaz-021/Simon-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simon-Game

A web-based implementation of the classic "Simon Game." This game tests the player's memory by having them repeat a sequence of colors that becomes progressively more difficult.

Features

  • Interactive Gameplay: Users can test their memory by following the sequence of colors.
  • Progressive Difficulty: The sequence length increases as the player progresses.
  • Visual Cues: Colors light up for each step in the sequence.

How to use

  1. Clone the repository:

    git clone https://github.com/Riyaz-021/simon-game.git  
    
  2. Navigate to the project directory:

    cd Simon_Game
    
  3. Open the index.html file in your browser.

Project Structure

  • index.html: The main HTML file that structures the game interface.
  • style.css: The stylesheet that styles the game, including colors and layout.
  • app.js: The JavaScript file containing the logic that powers the game.

How to Play

  • Step1: Press any key to start the game.
  • Step2: Click on the button which flashed.
  • Step3: When the new button flashes click the previous button which flashed and then click the button which just flashed.
  • Step4: Continue this process without missing the sequence.
  • Step5: When you miss the sequence, a red light will flash across the screen and will display your score and you can press any key to restart the game.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

If you would like to contribute to this project, please feel free to fork the repository and submit a pull request. Contributions are always welcome!

Acknowledgments

  • JavaScript for the game logic.
  • CSS for the visual design.
  • HTML for the structure.

About

A web-based implementation of the classic "Simon Game".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published