-
Notifications
You must be signed in to change notification settings - Fork 1
/
phase-map.js
137 lines (137 loc) · 3.49 KB
/
phase-map.js
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
module.exports = {
pregame: {
"game-start-warmup": "warm-up",
"game-start-no-warmup": "between-ends",
"warmup-end": null,
"between-end-end": null,
"begin-thinking": null,
"toggle-thinking": null,
"end-thinking": null,
"end-end": null,
"begin-midgame-break": null,
"begin-timeout": null,
"begin-extra-end": null,
"end-timeout": null,
"cancel-timer": null,
technical: null,
"end-technical": null,
},
"warm-up": {
"game-start-warmup": null,
"game-start-no-warmup": null,
"warmup-end": "stone-moving",
"between-end-end": null,
"begin-thinking": null,
"toggle-thinking": null,
"end-thinking": null,
"end-end": null,
"begin-midgame-break": null,
"begin-timeout": null,
"begin-extra-end": null,
"end-timeout": null,
"cancel-timer": "stone-moving", // warmup fully cancelled
technical: "technical",
"end-technical": null,
},
"between-ends": {
"game-start-warmup": null,
"game-start-no-warmup": null,
"warmup-end": null,
"between-end-end": "stone-moving",
"begin-thinking": "thinking",
"toggle-thinking": "thinking",
"end-thinking": null,
"end-end": null,
"begin-midgame-break": null,
"begin-timeout": null,
"begin-extra-end": null,
"end-timeout": null,
"cancel-timer": "PRIOR-STATE",
technical: "technical",
"end-technical": null,
},
idle: {
"game-start-warmup": "between-ends",
"game-start-no-warmup": "between-ends",
"warmup-end": null,
"between-end-end": null,
"begin-thinking": null,
"toggle-thinking": null,
"end-thinking": null,
"end-end": null,
"begin-midgame-break": null,
"begin-timeout": null,
"begin-extra-end": null,
"end-timeout": null,
"cancel-timer": null,
technical: null,
"end-technical": null,
},
"stone-moving": {
"game-start-warmup": null,
"game-start-no-warmup": null,
"warmup-end": null,
"between-end-end": null,
"begin-thinking": "thinking",
"toggle-thinking": "thinking",
"end-thinking": null,
"end-end": "between-ends",
"begin-midgame-break": "between-ends",
"begin-timeout": null,
"begin-extra-end": "stone-moving",
"end-timeout": null,
"cancel-timer": null,
technical: "technical",
"end-technical": null,
},
thinking: {
"game-start-warmup": null,
"game-start-no-warmup": null,
"warmup-end": null,
"between-end-end": null,
"begin-thinking": null,
"toggle-thinking": "stone-moving",
"end-thinking": "stone-moving",
"end-end": "between-ends",
"begin-midgame-break": "between-ends",
"begin-timeout": "timeout",
"begin-extra-end": null,
"end-timeout": null,
"cancel-timer": null,
technical: "technical",
"end-technical": null,
},
timeout: {
"game-start-warmup": null,
"game-start-no-warmup": null,
"warmup-end": null,
"between-end-end": null,
"begin-thinking": null,
"toggle-thinking": null,
"end-thinking": null,
"end-end": null,
"begin-midgame-break": null,
"begin-timeout": null,
"begin-extra-end": null,
"end-timeout": "thinking",
"cancel-timer": "PRIOR-STATE",
technical: "technical",
"end-technical": null,
},
technical: {
"game-start-warmup": null,
"game-start-no-warmup": null,
"warmup-end": null,
"between-end-end": null,
"begin-thinking": null,
"toggle-thinking": null,
"end-thinking": null,
"end-end": null,
"begin-midgame-break": null,
"begin-timeout": null,
"end-timeout": null,
"cancel-timer": null,
technical: null,
"end-technical": "PRIOR-STATE",
},
};