-
Notifications
You must be signed in to change notification settings - Fork 0
/
levels.js
615 lines (615 loc) · 24 KB
/
levels.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
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
export default [{
cave: "A",
title: "Intro",
hint: "Pick up jewels and exit before time is up.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: {needed: 12, worth: 10, extras: 15},
randoms: {vacant: [60, 256], boulder: [50, 256], diamond: [9, 256]},
difficulty: [{time: 110}, {time: 70}, {time: 40}, {time: 30}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
W...... ..d.r .....r.r....... ....r....W
W.rXr...... .........rd..r.... ..... ..W
W.......... ..r.....r.r..r........r....W
Wr.rr.........r......r..r....r...r.....W
Wr. r......... r..r........r......r.rr.W
W... ..r........r.....r. r........r.rr.W
Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...r..r.W
W. ...r..d. ..r.r..........d.rd...... .W
W..d.....r..... ........rr r..r....r...W
W...r..r.r..............r .r..r........W
W.r.....r........rrr.......r.. .d....r.W
W.d.. ..r. .....r.rd..d....r...r..d. .W
W. r..............r r..r........d.....rW
W........wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwW
W r.........r...d....r.....r...r.......W
W r......... r..r........r......r.rr..PW
W. ..r........r.....r. ....d...r.rr...W
W....rd..r........r......r.rd......r...W
W... ..r. ..r.rr.........r.rd...... ..rW
W.d.... ..... ......... .r..r....r...r.W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "B",
title: "Rooms",
hint: "Pick up jewels, but you must move boulders to get all jewels.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: {needed: 10, worth: 20, extras: 50},
randoms: {vacant: [60, 256], boulder: [50, 256], diamond: [9, 256], firefly: [2, 256]},
difficulty: [{time: 110, diamonds: {needed: 12}}, {time: 70, diamonds: {needed: 9}}, {time: 70, diamonds: {needed: 13}}, {time: 70, diamonds: {needed: 10}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
W.r..r..w.r...d.w... .r.wr......w..rr..W
W.......w......rwrr. ...w ..d...w....r.W
W W
Wd......w.r....rw.r. .. w..r..d.w..r.r.W
W.......w.r....rw.r. r..w.....r.w... ..W
Wwwwwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwwwwW
W....rr.w..r....w... ..rw....r..w.....rW
W.......w.. ....w... ...w....r. w.....rW
W W
Wr..r...w....r..w..r ...w......dwr.....W
Wr....r.w..r..r.w... . rw.......wr...r.W
W.r.....w...r...w... . rw.......w r..r.W
Wwwwwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwwwwW
Wr. q..w....r.rw... ...w.rd..r.w......W
W.....r.wr......w..d ...w ..r...w.r.rr.W
W W
Wd.. .r.wr....r.w.r. ..rw.r.r...w......W
W.....r.wr..d...w... r..w..r....w...rr W
W.d... rw..r....w.Xd r..w. .....w...rr W
W.r.... w.. ..r.w.P. ...w....r.rw.... .W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "C",
title: "Maze",
hint: "Pick up jewels. You must get every jewel to exit.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: {needed: 24, worth: 15, extras: 0},
randoms: {wall: [100, 256], boulder: [50, 256], diamond: [9, 256]},
difficulty: [{time: 100, diamonds: {needed: 23}}, {time: 90, diamonds: {needed: 24}}, {time: 80, diamonds: {needed: 23}}, {time: 70, diamonds: {needed: 21}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
Wr.ww.wrr.w...rwr..r....w...r.....rw.d.W
W..Xw.d.r.w...www..w.r....r..r.r...w.wrW
W....w..rd..r....w.....r.wwr.......w.wwW
Wd.w..wrwr..r....w...r......r.rr......wW
Wr.w...w..r.ww..r.wwd.......r.rr......wW
Wrr..r....w...r......r.rr......r..dww..W
W..r.ww..r.rr...w....r.rr......w..r.w.rW
W..w...d......d.r..wwr..r.w.wr..wr..d.rW
Wr.r....w.ww..d.r..wwr..r..d.w...w..r.wW
W.r.ww.....rrwr..d.w.wr..wr...wr..d.r..W
Ww.ww......rrwr..r.w.ww...w..r.ww..r.wwW
W.w.r.r.w...wwr..r....w...r.....ww.r.wwW
W.w.r.r.w.d.w.wr..wr....r..r.rr....w...W
Ww..wrwr..r....w...d...w.rw......w.ww.dW
Ww...wwr..w.d...wr..r.r...r.wr......w..W
Ww.d....r.ww..r.wwr.......r.wr......w..W
W..r....w...r......r.rr......w..r.w...wW
Wr.ww..r.ww...w....r.rr......w..rd..r..P
Ww...r......r.rd......r...ww..wr..d.w..W
Wrr...w.....r.rd......w..r.wd.d.rw.r...W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "D",
title: "Butterflies",
hint: "Drop boulders on butterflies to create jewels.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: {needed: 36, worth: 5, extras: 20},
randoms: {boulder: [20, 256]},
difficulty: [{time: 100}, {time: 80}, {time: 60}, {time: 50}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WX.....r....................r........r.W
W.....r..............r.................W
W........r..r..........................W
Wr.....................................W
W...................r..................W
W.r.....................r.........r....W
W..r.....r...........r..r.............rW
W......r......r.....................r..W
W....... B ..r. B .... B .... B ...W
W....... ..r. .... .... r..W
W......................................W
W...r..............................r...W
W...r.....r............................W
W......r...........r..................rW
W...........r.......r..................W
W..r..............r....................W
W.....................r.........r......W
W................................r..r..W
W....r......r.rr..................r....W
W...........r.rr.........r..r.r.......PW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "1",
title: "Intermission",
author: "Peter Liepa",
time: 10,
size: [21, 12],
intermission: true,
diamonds: { needed: 6, worth: 30, extras: 0 },
randoms: {diamond: [9, 256]},
map: `
WWWWWWWWWWWWWWWWWWWWW
W W
W r W
W X . W
W W
W W
W W
W W
W W
W W
W B P W
WWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "E",
title: "Guards",
hint: "The jewels are there for grabbing, but they are guarded by the deadly fireflies.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: {needed: 4, worth: 50, extras: 90},
difficulty: [{time: 120, diamonds: {needed: 5}}, {time: 90, diamonds: {needed: 6}}, {time: 60, diamonds: {needed: 7}}, {time: 30, diamonds: {needed: 8}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WX.....................................W
W......................................W
W......................................W
W......................................W
W......................................W
W......................................W
W......................................W
W....... q..... q..... q..... q....W
W....... ..... ..... ..... ....W
W....... d ..... d ..... d ..... d ....W
W......................................W
W......................................W
W......................................W
W....... q..... q..... q..... q....W
W....... ..... ..... ..... ....W
W....... d ..... d ..... d ..... d ....W
W......................................W
W......................................W
W......................................W
W......................................P
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "F",
title: "Firefly dens",
hint: "Each firefly is guarding a jewel.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: {needed: 4, worth: 40, extras: 60},
randoms: {boulder: [50, 256]},
difficulty: [{time: 120, diamonds: {needed: 6}}, {time: 100, diamonds: {needed: 7}}, {time: 90, diamonds: {needed: 8}}, {time: 80, diamonds: {needed: 8}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
Wwwwwwwwww....r.r..r........r.wwwwwwwwwW
W ...........r....r... W
W dq ..r..........r...r.. qd W
Wwwwwwwwww..r........r......r.wwwwwwwwwW
W ......r...r.......r. W
W dq ....r......r.rr..... qd W
Wwwwwwwwww.rr........r.rr.....wwwwwwwwwW
W ....r.r....r..r..... W
W dq ....r.r....r..r..r.. qd W
Wwwwwwwwww.rr.r..r....r...r...wwwwwwwwwW
W .rr.r..r............ W
W dq ....r..r........r... qd W
Wwwwwwwwww.....r...r....r..r..wwwwwwwwwW
W....r.r..r........r.....r............rW
W......r....r....r..r.r...r..r.........W
W..r....r.....r...r.......r..r.........W
W..r........r......r.rr.........r......W
Wr.X...r...........r.rr.........rr..r.PW
W....r......r.rr......r........r..r....W
Wrr.........r.rr.........r..r.r.r..r...W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "G",
title: "Amoeba",
hint: "Surround the amoeba with boulders, so it can't grow anymore. Pick up jewels that are created when it suffocates.",
author: "Peter Liepa",
slowGrowth: 75,
time: 120,
size: [40, 22],
diamonds: {needed: 15, worth: 10, extras: 20},
randoms: {vacant: [100, 256], boulder: [40, 256], firefly: [2, 256]},
difficulty: [{diamonds: {needed: 20}}, {diamonds: {needed: 25}}, {diamonds: {needed: 25}}, {diamonds: {needed: 25}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
W. .. .rr..... ..r. X.... rr r..r. . .W
W ..r. .. . .... .r.r. ... r..r.d.. .W
Wr..... .q. ... .r.r. ... wwwwwwwwwwwW
W.r.d... . ...... ..rr..r.... . ... . W
Wwwwwwwwwwwww.r. .. r.. .... ...r....P
Wr. r...... ..r. ... ..r. ..r. q.....W
Wr. r...... .. r..r.... ...r......r.rr.W
W... ..r ... ..r. ..r. ... ....r.rr.W
W... ..r. .r.... ...q......r.r.. r..r.W
W .. r.... ..r.r.... . ....... d.. .W
W. ... .. . .. . .....rr r..r. . r.. W
W.. d..r.r.... . ......r r..r. . ...W
W.r. ..r. ... .r.r. ... r.. .... ...W
W.... .r. ... .r.r. .r. . r.. r.... .W
W. .... .... .. r r..r.... ...r... .rW
W..... . .rr. ... r.. .r... r..r.r...W
W r...... ..r. .r.... . ..r. r.......W
W r...... .. r..r.... ...r......r.rr...W
W. ..r. ... ..r. .aa. ... ....r.rr...W
W. .drq..r.... ...r......r.rq.....dr...W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "H",
title: "Enchanted wall",
hint: "Activate the enchanted wall and create as many jewels as you can.",
author: "Peter Liepa",
time: 120,
size: [40, 22],
diamonds: {needed: 10, worth: 10, extras: 20},
randoms: {vacant: [90, 256], boulder: [50, 256], firefly: [2, 256]},
difficulty: [{time: 110, diamonds: {needed: 15}}, {time: 100, diamonds: {needed: 20}}, {time: 90, diamonds: {needed: 20}}, {time: 80, diamonds: {needed: 20}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
W . r.. . .. ..r. ..X ..r. ..r. r... .W
W.r.rr...... ..r...r.... ...r.....dr.r.W
P r..r... ...r..r. ..r.r...wwwwwwwwwwwW
W...d ..r. q.....r..... ........rr r..rW
Wwwwwwwwwwwww..r.r.... . ......r r..rW
W. ... ..r. ..r. .... rrr..... r.. W
W... r... q.. ..r. .....r.rr..r. . r..W
W..r. ..r. r.... ..... ...r r..r.... ..W
W.....r ...... . qrr. ... r.. .r....rW
Wr.r... . r...... ..r...r....r....dr. W
W......r. r......... r..r...wwwwwwwwwwwW
W.rr...... ..r. ... ..r. ..r. ... r..W
Wwwwwwwwwwwwwr........ ...r......r.rr..W
W..r... ...d..r. ..r.rr.........r.rr..W
W.. ..r. .r...mmmmmmmm......... r..r..W
Wr.. r....r..r r...d .. ....... r..r..W
W ... ..r. ...r. .....rrrr..r. . r.. rW
W. r..q.r.... . ......rr r..r... ...rW
Wr. ..r. .....r.r. ... r..r.... ...rW
W... .r.r .....r.r..... .. .r....r..W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "2",
title: "Intermission",
author: "Peter Liepa",
time: 15,
size: [21, 12],
intermission: true,
diamonds: { needed: 16, worth: 50, extras: 0 },
map: `
WWWWWWWWWWWWWWWWWWWWW
Wrq...............r.W
WXrq.............rP.W
Wd.rq...........r.d.W
Wrd.rq.........r.dr.W
W.rd.rq.......r.dr..W
W..rd.rq.....r.dr...W
W...rd.rq...r.dr....W
W....rd.rq.r.dr.....W
W.....rd.rr.dr......W
W......rd..dr.......W
WWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "I",
title: "Greed",
hint: "You have to get a lot of jewels here, lucky there are so many.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: {needed: 75, worth: 5, extras: 10},
randoms: {boulder: [240, 256], diamonds: [120, 256]},
difficulty: [{diamonds: {needed: 75}}, {time: 130, diamonds: {needed: 80}}, {time: 130, diamonds: {needed: 85}}, {time: 120, diamonds: {needed: 90}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
Wdddrrddrddr.rrrrdrdd.ddrddrddddrrdrdrrW
Wdrrdddrrrdrddrrrrrrdrrd.drdrrrrdrddrrdW
Wddrrrrrrrdrddrr.rrrdrrdddrdr.rrdrrrddrW
Wrrdrddrrrrrrdrrddd..ddrrdrddrrdrdd.rrdW
Wrrdrddrrrrrrdrrd.drdrrrrdrdrdrrddrrdrdW
Wdddrrdrd.ddrrddrrdddrrdrdrrr.drddrrdrdW
Wrrrrrdrrdddd..rrrdrdd.rdrddr.rrddddddrW
Wdrddwwwwwww.wwwwwdrrrrdrwwwwww.wwwwwwrW
Wd.ddw wrddrrrdw wrW
Wdrdrw XP wrddrrrdw wrW
Wdrrdw wr.rrddrw wrW
Wdrrdw wddddrdrw wdW
Wrdddw wdrrd.drw wdW
Wrrrrw wdrrddrrw wrW
Wdrddw w.rdrrdrw wrW
Wdrddw wwwwwwwww wrW
Wrrrdw wrW
Wrrrdw wdd.rdrdw wrW
Wddrrw wrrrdrddw wrW
Wdd..wwwwwwwwwwwwwdrrrdddwwwwwwwwwwwwwdW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "J",
title: "Tracks",
hint: "Get the jewels, avoid the fireflies.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: {needed: 12, worth: 25, extras: 60},
difficulty: [{time: 130}, {time: 120}, {time: 110}, {time: 100}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
W............X.........................W
Wwwwwwwwwwwww wwwwwwww.................W
Ww....d.............dw.................W
Ww.w w.wwwwww wwwwww.w.................W
Ww.wqw.wd.........dw.w.................W
Ww.wqw.w.wwww wwww.w.w.................W
Ww.wqw.w.wd.....dw.w.w.................W
Ww.wqw.w.w.ww ww.w.w.w.................W
Ww.wqw w w w w w w w.................W
Ww.wqwqwqwqwqqqwqwqwqw.................W
Ww.wqw w w w w w w w.................W
Ww.wqw.w.w.wwwww.w.w.w.................W
Ww.wqw.w.wd.....dw.w.w.................W
Ww.wdw.w.wwwwwwwww.w.w.................W
Ww.wdw.wd.........dw.w.................W
Ww.wdw.wwwwwwwwwwwww.w.................W
Ww.wdwd.............dw.................W
Wwwwwwwwwwwwwwwwwwwwww.................W
W......................................W
W......................................W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "K",
title: "Crowd",
hint: "You must move a lot of boulders around in some tight spaces.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: {needed: 6, worth: 50, extras: 0},
randoms: {vacant: [100, 256], boulder: [80, 256], firefly: [2, 256]},
difficulty: [{time: 120}, {time: 150}, {time: 150}, {time: 240}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
Wr.rd.rrr.w...drr..rw...d...r.w...dr.r.W
W... .r.r.w...r r..rwr....r..rwr...r.rrW
W.... ..rrw.r....r..w..r. rr..w....r.rrW
Wr.r.. rrrw.r.... ..wr......r.wr......rW
Wr. ...r..w. ..r.rrw.......r.wr...... W
Wrr..r....w...r.....wr.rr.....wr..r r..W
W..r.rr..rwrr...r...wr.rr.....wr..r. .wW
W..r...r..w...r.r..rwr..r. .rrw. r..qwrW
Wr.r.wwwwwwwwwqwwwwwwwwwrwwwwwwwww..w. W
W.r. .....rrrr..r.r.rr..rr... r..rwr..W
Wr.rr......rrrr..r. . r...r..r.rr.wr.rrW
W. .r.r. w..rrr..r.... ...r.....rw.r.rrW
W. .r.r. wr.wwwwwwwwwwwwwwwwwrr.w..r...W
Wr.. rrr.wr....r...r... .rr....w.r.rr.rW
Wr...rrr.wr.r... r..r.r...r.rrw.....r.PW
W .r....rw ..r.rrr.......r.rw...... ..W
W..r.... w..r......r.rr.....wr..r.r...rW
Wr.rr..r.wr...r....rXrr......r..rq..r..W
Wr...r...w..r.rq......r... r.. r..rdr..W
Wrr.d. ..w..r.rr......r..r. r.q.rr.r...W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "L",
title: "Walls",
hint: "You must blast through walls to get at some of the jewels. Drop a boulder on a firefly at the right time and place to do this.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: {needed: 19, worth: 20, extras: 0},
randoms: {vacant: [60, 256], boulder: [50, 256], diamond: [9, 256]},
difficulty: [{time: 170, diamonds: {needed: 19}}, {time: 160, diamonds: {needed: 14}}, {time: 160, diamonds: {needed: 16}}, {time: 160, diamonds: {needed: 21}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
Wr. ...rr.....r.r..r........r.....r..d.W
W.....d.r....... ....r....r..r..... ..rW
W.......rdw.r.w.. w...wr...r.. q . .. W
Wdwwwwwwwwwww.w...w..rw.....r. .....W
Wr........w...w.r.w d.w.....r..........W
Wrr..r....w...w...w..rwrr......r..d....W
W..r.....rwrr.w...w..rwrr.........r...rW
W.wwwwwwwwwww.w.r.w .rw.r....r q ..d.rW
Wr.r......w...w.r.w..rw.r..d.. ..r..W
W.r.......wrr w..dw.. w...r.......d.r..W
W ........wrr w..rw...w... ..r.....r...W
W.wwwwwwwwwwwwwwwrw...w...r........r. W
W...r.r...w...wr..wr..w.r..r.r q .....W
W....r r..w...w...wd..w..r ... ....dW
W.... .r..w.d.w..rw.r.w...r. r.........W
W.wwwwwwwwwww.w...w...w...r. r.........W
W..r......w.r.w...wr.rw...... ..r......W
Wr.X...r. w...w...wr.rw.........rd..r..W
W....r....w.r.wd..w...w.... ...r..d. ..W
Wrr.......w.r.wd..w...w..r..d.d.r..r...W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "3",
title: "Intermission",
author: "Peter Liepa",
time: 20,
arrive: 5,
size: [20, 12],
intermission: true,
diamonds: { needed: 14, worth: 10, extras: 0 },
map: `
WWWWWWWWWWWWWWWWWWWW
W X W
W W
W W
W W
W PW
W W
W qqqqW
W qqqqW
W qqqqW
WddddddddddddddqqqqW
WWWWWWWWWWWWWWWWWWWW`
}, {
cave: "M",
title: "Apocalypse",
hint: "Magically transform the butterflies into jewels, but don't waste any boulders and watch out the fireflies.",
author: "Peter Liepa",
time: 150,
slowGrowth: 140,
size: [40, 22],
diamonds: {needed: 50, worth: 5, extras: 8},
randoms: {boulder: [40, 256]},
difficulty: [{time: 155, diamonds: {needed: 55}}, {time: 150, diamonds: {needed: 60}}, {time: 145, diamonds: {needed: 70}}, {time: 140, diamonds: {needed: 80}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
W..X...................................W
W......................................W
W......................................W
W......................................W
W.....................q.q.q.q.q.q......W
W.....................r.r.r.r.r.r......W
W......................................W
W......................................W
W..........B. . . . . .................W
W.......... . . . . . .................W
W.......... .B. . . . .................W
W.......... . . . . . .................W
W.......... . .B. . . .................W
W.......... . . . . . .................W
W.......... . . .B. . .................W
W.......... . . . . . .................W
W.......... . . . .B. .................W
W.......... . . . . . .................P
W.......... . . . . .B.................W
W......................................W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "N",
title: "Zigzag",
hint: "Magically transform the butterflies into jewels, but don't waste any boulders and watch out the fireflies.",
author: "Peter Liepa",
time: 150,
slowGrowth: 20,
size: [40, 22],
diamonds: { needed: 30, worth: 10, extras: 20 },
difficulty: [{time: 145, diamonds: {needed: 35}}, {time: 140, diamonds: {needed: 40}}, {time: 135, diamonds: {needed: 42}}, {time: 130, diamonds: {needed: 45}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
Wr.....rr.P.....r.Xra.......r........r.W
W.....r.r............r....r..r.r.......W
W........r..r..............r...........W
Wr.......r...........r......r..r.......W
Wr........r.....r...r.......r..r.......W
W.r..r........r......r.rr.........r....W
W..r.....r...........r.rr.........r...rW
W......r......r.r....r..r........r..r..W
Wr.r..........r.r..........r...........W
W..........rr.r..r....r...r....r..r.r..W
W..........r..r..r...........r.....r...W
W...r.r.......r...........r........r...W
W...r.r...r....r...r.......r...........W
W....r.r..r........r.....r............rW
W......r....r....r..r.r......r.........W
W..r.wwwwwwwwwwwwwwwwwwwwwwwwwwwwww....W
W..r.BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB....W
Wr...rrrrrrrrrrrrrrrrrrrrrrrrrrrrrr.r..W
W......................................W
W.r................................r...W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "O",
title: "Funnel",
hint: "There is an enchanted wall at the bottom of the rock tunnel.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: { needed: 15, worth: 10, extras: 20 },
randoms: {vacant: [100, 256], boulder: [80, 256], firefly: [2, 256]},
difficulty: [{diamonds: {needed: 20}}, {diamonds: {needed: 20}}, {diamonds: {needed: 25}}, {time: 140, diamonds: {needed: 30}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
Wr.rr.. r..r..r.r..Xr..r.rr..r.rr...r.W
W.w.rr......r..r...r....w...r......r.r.W
Wrrw.r... r.. r..r.r..rwr.... .. ..r.rqW
W...wr..r. q.....r. ..wr. .....rrrr..rW
W.rr.wrr... r..r.r...wr. r......rrrr..rW
W. r..wr..r.r ..r.rrw... rrr. ...rrr..rW
W...rr.w. q..r..r.rw.....r.rr..r.r.rr..W
W..r.r..w.rr.... .w...r.. rrr..r....r..W
W... .rr.w....r. wqrr. ...rrr..r.r... rW
Wr.r...r.rw.....wr..r. .r....r. ..r.rrW
W......r.rrw...w. ..rr..r.... ...r.....W
W.rr......r....r...r..r.r ..r.rr... r..W
W.rr......r.mmm..r....r...r......r.rr..W
W..r... r...r..r.r..r.rr... .....r.rr..W
W..r..r. .r....r.....r. ......rrr..r. W
Wr.. r....r..r.r....r. .......rrr..r..W
Wr...r..r. ..r. .... rrrr..r.r.rr..rrW
W. r..q r....r.rr......rrrr..r. .rr.. rW
Wr.rr..r.rr... .r.r. ...rrr..r.... ...rW
W...rr.r.rr... .r.r.P...r r..r.r....r..W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "P",
title: "Enchanted boxes",
hint: "The top of each square room is an enchanted wall, but you'll have to blast your way inside.",
author: "Peter Liepa",
time: 150,
size: [40, 22],
diamonds: { needed: 12, worth: 10, extras: 20 },
randoms: {boulder: [50, 256]},
difficulty: [{diamonds: {needed: 15}}, {diamonds: {needed: 15}}, {diamonds: {needed: 15}}, {diamonds: {needed: 12}}],
map: `
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WX..r..........r........r.....r..r.....W
W.r.rr.........r...r........r......r.r.W
W.r..r........r..r....r.r..........r.rrW
W.......r..r.....r..............rr.r..rW
W..r...r....r..r.r..............r..r..rW
W.........r.....r........rrr.......r...W
W....r....r.....r........r.rr..r....r..W
W..r...mmmmmm..mmmmmm.....r.r..r.......W
W.....rw....w..w..rrw.......r....r....rW
Wr.r...w..r.w..w....w...r....r.....r...W
W......w..r.w..w....wr..r........r.....W
W.rr...w....wr.w....w.r.....r.......r..W
W.rr...w....wrrw.r..w.....r......r.rr..W
W..r...w....w..w....w.rr.........r.rr..W
W.....rwwwwww..wwwwww............r..r..W
Wr...r....r..r.r.................r..r..W
W.............r........r.....r........rW
W..r..r. q .... q ...r q .r.. q ..rW
Wr.....r .... .... .r.. ..rW
W......r.......................r....r..W
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW`
}, {
cave: "4",
title: "Intermission",
author: "Peter Liepa",
time: 20,
size: [21, 12],
intermission: true,
diamonds: { needed: 6, worth: 30, extras: 0 },
map: `
WWWWWWWWWWWWWWWWWWWWW
W..X.......rrr......W
W..........rrr......W
W...................W
W..........mmm......W
W.......r.. ......W
W........r. ......W
W.........r ......W
W........P.mmm......W
W.......... ......W
W.......... ......W
WWWWWWWWWWWWWWWWWWWWW`
}]