-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimonNote.txt
More file actions
30 lines (19 loc) · 1.46 KB
/
simonNote.txt
File metadata and controls
30 lines (19 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
am presented with a random series of button presses.
User Story: Each time I input a series of button presses correctly, I see the same series of button presses but with an additional step.
User Story: I hear a sound that corresponds to each button both when the series of button presses plays, and when I personally press a button.
User Story: If I press the wrong button, I am notified that I have done so, and that series of button presses starts again to remind me of the pattern so I can try again.
User Story: I can see how many steps are in the current series of button presses.
User Story: If I want to restart, I can hit a button to do so, and the game will return to a single step.
User Story: I can play in strict mode where if I get a button press wrong, it notifies me that I have done so, and the game restarts at a new random series of button presses.
User Story: I can win the game by getting a series of 20 steps correct. I am notified of my victory, then the game starts over.
Hint: Here are mp3s you can use for each button:
https://s3.amazonaws.com/freecodecamp/simonSound1.mp3
https://s3.amazonaws.com/freecodecamp/simonSound2.mp3
https://s3.amazonaws.com/freecodecamp/simonSound3.mp3
https://s3.amazonaws.com/freecodecamp/simonSound4.mp3
E-note (blue, lower right);
C♯-note (yellow, lower left);
A-note (red, upper right).
E-note (green, upper left, an octave lower than blue);
tempo: speeds up on 5th, 9th, and 13th step
win: 20th step correct, win! restart