Skip to content

Anshuman-Jha-01/Simon-Says

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simon Says Game

This project is a Simon Says Game implemented using HTML, CSS, and JavaScript. This interactive game challenges players to repeat a randomly generated sequence of colors, increasing in difficulty as the player advances through levels.

Table of Contents

Project Overview

The Simon Says Game is a memory game where the player needs to repeat a sequence of colors shown on the screen. With each level, a new color is added to the sequence, making it progressively more challenging. The player’s current score and highest score are displayed.

Features

  • Interactive Gameplay: Players can use their memory to repeat sequences and progress through levels.
  • Difficulty Selection: Choose difficulty level at the start (Easy, Medium, or Hard).
  • Score Tracking: Displays the all time highest score stored in the local storage after each game.

Technologies Used

  • HTML: For structuring the game layout
  • CSS: For styling the game elements and visual feedback
  • JavaScript: For game logic and interactivity

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/Anshuman-Jha-01/Simon-Says.git
    
  2. Navigate into the project directory:
    cd Simon-Says
    
  3. Open the SimonSays.HTML file in your browser to start playing the game.

Usage

  1. When you load the game, select a difficulty level by entering the response in the prompt (700 for Easy, 500 for Medium, 300 for Hard).
  2. Press any key to start the game. A random color sequence will appear.
  3. Click on the color boxes to repeat the sequence. The game progresses to the next level if the correct sequence is repeated.
  4. If you fail, your score is displayed, and you can press any key to restart.

Controls

  • Press any key to start or restart the game.
  • Click on the color boxes to input the sequence.

Project Structure

SimonSays.HTML     # Main HTML file for the game layout
SimonSays.css      # CSS file for styling game elements
SimonSays.js       # JavaScript file for game logic and interactions

License

This project is licensed under the ISC License.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published