Skip to content

obeezzy/simon-says

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simon Says

Watch, Remember, Repeat!

<simon-says> is a dependency-free web component for the game Simon Says.

Screenshot of Simon Says game

Gameplay

A round in the game consists of the device lighting up one or more buttons in a random order, after which the player must reproduce that order by pressing the buttons. As the game progresses, the number of buttons to be pressed increases.

How to play

  1. Start a server in the root directory of this repository:
$ cd simon-says
$ python -m http.server
  1. Open the web app in any browser of your choice:
$ firefox localhost:8000
  1. Press Start.

How to embed

To embed this in your website, insert the following into your HTML code:

<script type="module" src="https://raw.githubusercontent.com/obeezzy/simon-says/refs/heads/main/simon-says.js"></script>
<simon-says></simon-says>

License

MIT

About

Watch, Remember, Repeat!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published