Desktop version of Simon game.
- 1/ Switch to ON. The counter displays 0.
- 2/ MUTE and STRICT are switched to OFF
- 3/ Press the START button. Simon will give the first signal (light and sound). Repeat the signal by pressing the same color lens.
- 4/ Simon will duplicate the 1st signal and add one. Repeat these 2 signals by pressing the same color lenses, in order.
- 5/ Simon will duplicate these first 2 signals and add 1.
- 6/ If the player fails to repeat a sequence exactly, Simon responds with an error sound and the counter will display "NO". This means you've failed to repeat the sequence exactly. Simon will then repeat the sequence.
- 7/ If you success to repeat exactly the sequence of 3 signals, Simon will maintain all color lenses flashed at the same time and the counter will display "WIN". The game ends.
mute button: if selected the game is mute.
strict button: if selected and if the player fails to repeat a sequence exactly the game starts over with a new sequence.
Back to top
- GitHub - Used as remote storage of my code online.
- Atom - Used as a local IDE.
- Compressjpeg - Used to compress images for loading faster
- Techsini - Used to generate multi-device website mockup
Back to top
- HTML - Used as the base for markup text.
- CSS - Used as the base for cascading styles.
- JavaScript: Used for user interactions.
- jQuery: JavaScript library, used to simplify some of the DOM manipulations
Back to top
- Create repository in GitHub and give it a relevant name.
- Click on your repository to open it.
- Find the “settings” tab and click on it.
- Scroll down until the “GitHub Pages” sections.
- Under the “source” drop down menu, choose a branch. I chose “master branch” and select it.
- You will then see a URL to your live webpage. In my case the URL is https://github.com/sctlcd/js-simon-game
Back to top
- Again, click on the repository called Simon game
- Along the top bar, find the “clone or download” button.
- Here you have the option to clone by HTTPS or SSH.
- Once you have chose your desired option, then click the copy icon next to the URL.
- Open Git Bash.
- Ensure you are in the correct directory which you want to copy the code into. If not, change the directory.
- In the terminal, write $ git clone https://github.com/sctlcd/js-simon-game.git
- Press the enter button and your clone will be created.
Back to top
Sources of the images used on this site:
Back to top