You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stage1/tasks/simon-says/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ To practice event handling, such as clicks and keyboard inputs.
24
24
- The user can use both **virtual**_(by clicking keys on the screen)_ and **physical** keyboards _(by pressing keys on their keyboard)_ to play the game.
25
25
- Handling NumPad events **is not required**. NumPad inputs can be ignored during the game.
26
26
- Pressing keys with symbols that are not part of the current difficulty level **must be ignored** during the game _(e.g. for the "Medium" level, pressing any not letter key must be ignored)_.
27
+
-**Only one key** can be processed at a time. If the user attempts to press multiple keys simultaneously, the application should process only the first key press detected to prevent multiple inputs from being registered at the same moment.
27
28
28
29
##### Initial game screen
29
30
@@ -152,7 +153,7 @@ _It is recommended to print the right answer for each round in the browser's con
152
153
- Unexpected errors in the console (the deduction is only allowed once for each distinct kind of error): `-10 per error`
153
154
- Feedback messages displayed in page do not disappear when the user clicks the “Repeat the sequence” (if still present and enabled)/"Next" or "New game" buttons: `-10`
154
155
- Feedback messages displayed as separate popups/dialogs do not have a closing button, or the interaction with the page is not disabled when the message is displayed: `-10`
155
-
- More than one key at a time is highlighted when guessing the sequence: `-10`
156
+
- More than one key at a time is highlighted when guessing the sequence or more than one key is processed at a time: `-10`
156
157
- The symbols that are not part of the current difficulty level are not ignored: `-20`
157
158
- Upper and lower case letters are not treated as the same symbol: `-20`
158
159
- Once the answer is detected as correct or incorrect, the application still handles new user input on virtual or physical keyboards: `-20`
0 commit comments