CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
Press play to begin! Until you do so the game functions like a 4 note instrument.
The rules are exactly the same as the classic Simon game.
But in case you've never played Simon here are the rules:
You are presented with a sequence of button presses (The diamonds light up and make a sound). The length of the sequence is the same as the current round you're on.
After the sequence is done playing, you press the diamonds ( or use arrow or WASD keys) in the same pattern that just played.
If you enter the entire current sequence correctly, the round will increase. The pattern will play again, adding one more button press at the end of the sequence. The game continues like this until round 20.
If you enter the sequence incorrectly, a sound will play letting you know you made a mistake. If the mode is set to 'forgiving' (the default) the pattern will play again, and you can try again. If the mode is 'strict' the pattern will reset and you'll have to start all over from round 1.
If you beat round 20, you'll win the game! You'll be notified of your victory and the game will start over.