Skip to content

C0dewithLokesh/simon-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simon Game

Simon Game is a classic memory game that challenges players to remember a sequence of colors and sounds. This project is a web-based version of Simon Game implemented using JavaScript and jQuery library.

➥ Live Demo

Demo Screeshot

image

Getting Started

To play the game, follow these steps:

  • Clone the repository to your local machine
  • Open index.html file in your web browser
  • Press any key on the keyboard to start the game
  • Watch the color sequence that appears on the screen
  • Click the colors in the same order as they appeared in the sequence
  • Repeat steps 4-5 for each level
  • If you complete all levels, you win the game!
  • If you click the wrong sequence or fail to complete a level within the time limit, the game ends and you need to restart by pressing any key

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Git must be installed on your operating system.

Run Locally

To run Simon Game locally, run this command on your git bash:

Linux and macOS:

sudo git clone https://github.com/C0dewithLokesh/simon-game.git

Windows:

git clone https://github.com/C0dewithLokesh/simon-game.git

Features

  • The game generates a random color sequence that the user must follow
  • The user must click the colors in the same order as they appeared in the sequence
  • If the user clicks the correct sequence, the game moves on to the next level with a new color added to the sequence
  • If the user clicks the wrong sequence, the game ends and the user must restart by pressing any key
  • The game includes a timer that counts down from 10 seconds. If the user doesn't complete the sequence within the time limit, the game ends.

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • jQuery

Acknowledgement

This project was created as a part of the Web Development Bootcamp course on Udemy. Thanks to Angela Yu for the guidance and inspiration.

License

The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published