Project1.Plan

Project 1 Plan for Simon game
1. Player (P) presses “Start New Game” button at the bottom of the screen to begin a new game.
2. A new game screen appears, and the score counter is set to “0”.
3. The screen displays 4 differently colored squares, situated in approximately the four quadrants of
the screen and a score counter at the bottom of the screen which reads “Score: 0”.
4. Round 1 begins. At random, one of the squares “lights up” and plays a tone (a different tone is
associated with each square). After approx. 1 second, the square returns to its original color and
the tone stops playing (this entire process will be referred to as a blink).
5. P attempts to remember the square that just lit up (s1) and clicks on it, followed by clicking a
button labeled DONE at the bottom of the screen. If the player clicks on s1 (the square which just
lit up), then the score increments by 1 (“Score: 1”) . If the player does not click on the correct
square, then the game is over and “Game Over” flashes on the screen. If the game has ended, the
player may choose to press the “Start New Game” button at the bottom of the screen.
6. If s1 was clicked, game play proceeds to round 2. s1 blinks. After s1 blinks, another square (s2),
chosen at random, blinks—lighting up and playing its associated tone.
7. P attempts to remember the sequence of blinking squares (s1, s2)—a sequence run—and clicks on
squares in the same order that they appeared in the sequence run. Again, if the player remembers
correctly and clicks on the correct sequence (followed by the DONE button, the score increments
by 1, bringing the total score to “2”). The player has an unlimited amount of time to try to enter the
correct sequence.
8. Subsequent rounds follow the same pattern: with each new round, a new, randomly chosen blink
is added to the end of the established sequence. If the player fails to enter the correct sequence
following the sequence run, then the game is over.
9. A High Score Counter at the bottom of the screen keeps track of the highest score received (over
multiple games) during the same browser session.