-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlevels.js
More file actions
190 lines (188 loc) · 3.75 KB
/
levels.js
File metadata and controls
190 lines (188 loc) · 3.75 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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
(() => {
const STORAGE_KEY = "cuboid-shift-bests";
const LEVELS = [
{
name: "Bridge Basics",
map: [
".....",
".S..G",
".....",
],
bridges: {},
intro: "Reach the hole while standing upright.",
},
{
name: "Fragile Route",
map: [
" ....",
"....F..",
".S.....",
".......",
" ..G.",
],
bridges: {},
intro: "Fragile tiles (F) break if you stand upright on them.",
},
{
name: "Soft Toggle",
map: [
".........",
".S..a....",
".....111G",
".........",
],
bridges: { "1": false },
intro: "Soft switches (a-c) toggle bridges (1-3) on any contact.",
},
{
name: "Heavy Lift",
map: [
"........",
".S..A..G",
"....111.",
"........",
],
bridges: { "1": false },
intro: "Heavy switches (A-C) trigger only when upright.",
},
{
name: "Twin Bridges",
map: [
".........",
".S..a....",
"....111..",
" ..b..G",
" ..222.",
" ......",
],
bridges: { "1": false, "2": false },
intro: "Chain two soft switches to cross twin bridges.",
},
{
name: "Lava Channel",
map: [
".........",
".S..Z...G",
"...ZZZ...",
".........",
],
bridges: {},
intro: "Z tiles are lava: touching them causes an instant fall.",
},
{
name: "Portal Gallery",
map: [
"........",
".S..Z...",
"..ZZ....",
"...OO...",
"........",
],
bridges: {},
intro: "O pads win only when the cuboid lies across both pads.",
},
{
name: "Bridge Over Fire",
map: [
"............",
".S..a....111",
"...ZZZZ..111",
".........11G",
"............",
],
bridges: { "1": false },
intro: "Use a switch while routing around lava lanes.",
},
{
name: "Portal Switch",
map: [
"..........",
".S..A..111",
".......111",
".......OO.",
"...ZZ.....",
],
bridges: { "1": false },
intro: "Heavy trigger plus portal pads: finish by lying on OO.",
},
{
name: "Double Relay",
map: [
"..............",
".S...a...b..G.",
"....111..222...",
"..............",
],
bridges: { "1": false, "2": false },
intro: "Relay two switches to route toward the goal.",
},
{
name: "Ash & Glass",
map: [
"............",
".S..F..a...",
"...ZZ.111..",
"......111..",
".......OO..",
"............",
],
bridges: { "1": false },
intro: "Mix fragile stone, lava, and toggled bridges.",
},
{
name: "Cathedral Circuit",
map: [
".................",
".S..a...1..b..2..",
"....11111.22222..",
"...Z....A....Z...",
"....11111.22222..",
"...OO......G.....",
".................",
],
bridges: { "1": false, "2": false },
intro: "Hybrid puzzle: bridge logic and dual-win routes.",
},
{
name: "Portal Stair",
map: [
".............",
".S....Z......",
"...ZZZ...F...",
".....111.....",
"...a.111.OO..",
".............",
],
bridges: { "1": false },
intro: "Stair-step through lava and activate the bridge for OO.",
},
{
name: "Volcanic Crown",
map: [
"................",
".S..a....b....c",
"....111..222..333",
"..Z.............G",
"....A....B....C.",
"....111..222..333",
".....OO.........",
"................",
],
bridges: { "1": false, "2": false, "3": false },
intro: "Final circuit: coordinate three bridge networks.",
},
];
const SWITCH_TO_BRIDGE = {
a: "1",
b: "2",
c: "3",
A: "1",
B: "2",
C: "3",
};
window.CuboidLevels = {
LEVELS,
STORAGE_KEY,
SWITCH_TO_BRIDGE,
};
})();