forked from ucsb-cs-education/hairball
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NOTES
49 lines (36 loc) · 1.01 KB
/
NOTES
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
POTENTIAL -> CORRECT
| INCORRECT
| IGNORE
CORRECT -> SHOW_MESSAGE PLAYDONE_LIST HIDE_MESSAGE
| SHOW_MESSAGE PLAYDONE_LIST POTENTIAL
INCORRECT -> SHOW_MESSAGE PLAYDONE_LIST <EOF>
| ... # TODO: expand on this
IGNORE -> SHOW_MESSAGE <EOF>
| SHOW_MESSAGE OTHER_BLOCK
PLAYDONE_LIST -> PLAYDONE_LIST [play until done]
OTHER_BLOCK -> (any block but show, think, play until done)
MESSAGE_DURATION -> [show "*" for]
| [think "*" for]
SHOW_MESSAGE -> [show ".+"]
| [think ".+"]
HIDE_MESSAGE -> [show ""]
| [think ""]
# Simple accept (correct: 1)
[show ".+"]
[play until done]
[show ""]
# Multiple accept (correct: 3)
[show ".+"]
[play until done]
[show ".+"]
[play until done]
[show ".+"]
[play until done]
[show ""]
# Mixed (correct: 1, incorrect: 1)
[show ".+"]
[play until done]
[show ".+"] # <- This message is hidden, ends the first correct
[show ".+"] # <- This messsage begins the second correct
[play until done]
[show ""]