Watch, Remember, Repeat!
<simon-says>
is a dependency-free web component for the game Simon Says.
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.
- Start a server in the root directory of this repository:
$ cd simon-says
$ python -m http.server
- Open the web app in any browser of your choice:
$ firefox localhost:8000
- Press Start.
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>