-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgame.js
2465 lines (2419 loc) · 48.5 KB
/
game.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
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
const textElement = document.getElementById('text')
const optionButtonsElement = document.getElementById('option-buttons')
const qImgElement = document.getElementById('qpic')
let state = {}
function startGame() {
state = {}
showTextNode(0)
}
function showTextNode(textNodeIndex) {
const textNode = textNodes.find(textNode => textNode.id === textNodeIndex)
textElement.innerText = textNode.text;
var ritem = qImgElement.childNodes[0];
var img = document.createElement('img');
let img_dir = "images/";
img.src = img_dir.concat(textNode.image);
img.width = 300;
qImgElement.replaceChild(img, ritem);
while (optionButtonsElement.firstChild) {
optionButtonsElement.removeChild(optionButtonsElement.firstChild)
}
textNode.options.forEach(option => {
if (showOption(option)) {
const button = document.createElement('button')
button.innerText = option.text
button.classList.add('btn')
button.addEventListener('click', () => selectOption(option))
optionButtonsElement.appendChild(button)
}
})
}
function showOption(option) {
return option.requiredState == null || option.requiredState(state)
}
function selectOption(option) {
const nextTextNodeId = option.nextText
if (nextTextNodeId <= 0) {
return startGame()
}
state = Object.assign(state, option.setState)
showTextNode(nextTextNodeId)
}
const textNodes = [
{
id: 0,
text: 'Space Odyssey: Online Treasure Hunt \n Fill the form before you start \n https://forms.gle/cfxtTFvN8LG1sC239',
image: 'astral1.png',
options: [
{
text: 'Start',
nextText: 1
},
{
text: 'May be later!',
nextText: 0
}
]
},
{
id: 1,
text: 'It is 2035 and humanity is thriving under the shelter of the pale blue dot. It has been only a few months since NASA had spotted a wierd object floating through the space.',
image: 'Earth.png',
options: [
{
text: '← Back',
nextText: 0
},
{
text: 'Are you curious? Let\'s see where it takes us',
nextText: 2
},
]
},
{
id: 2,
text: 'The object seems to be nothing like humanity has ever seen. Its unusual trajectory seems to intrigue a lot of researchers. But what\'s even more mysterious is its striking resemblence with ʻOumuamua. They seem to call it \'Object X\'',
image: 'mystery.gif',
options: [
{
text: '← Back',
nextText: 1
},
{
text: 'ʻOumuamua! Hmm seems interesting',
nextText: 3
},
]
},
{
id: 3,
text: 'ʻOumuamua is the first known interstellar object detected passing through the Solar System. Do you know who discovered it?',
image: 'ou.jpeg',
options: [
{
text: 'Karen Jean Meech',
nextText: 4
},
{
text: 'Robert Weryk',
nextText: 5
},
{
text: 'Robert Jedicke',
nextText: 4
},
{
text: 'Marco Micheli',
nextText: 4
},
]
},
{
id: 4,
text: 'Oops don\'t think that\'s correct. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 3
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
{
id: 5,
text: 'Oh yes that\'s correct! Now back to the story.\n Thanks to the advanced technology, NASA is all geared up to send a group of researchers to Object X. Their motive is to study the object and it\'s extra-terrestrial orgins.',
image: 'AstMining.jpeg',
options: [
{
text: '← Back',
nextText: 3
},
{
text: 'Help NASA crack the math!',
nextText: 6
},
]
},
{
id: 6,
text: 'Let\'s start with some space flight performance! \n What would be the nature of the effect of the propellant mass fraction on the vehicle velocity?',
image: 'rocket.jpeg',
options: [
{
text: 'Exponential',
nextText: 8
},
{
text: 'Logarithmic',
nextText: 7
},
{
text: 'Linear',
nextText: 8
},
{
text: 'Parabolic',
nextText: 8
},
]
},
{
id: 7,
text: 'Woah! You are right. ',
image: 'req.png',
options: [
{
text: '← Back',
nextText: 6
},
{
text: 'Let\'s crack the next one',
nextText: 9
},
]
},
{
id: 8,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 6
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
{
id: 9,
text: 'Astronauts have boarded the ship to Object X. What is the minimum velocity required by the rocket to escape the gravitaional pull of Earth? ',
image: 'ev.jpeg',
options: [
{
text: '11.19 km/s',
nextText: 10
},
{
text: '10.18 km/s',
nextText: 11
},
{
text: '10.38 km/s',
nextText: 11
},
{
text: '11.29 km/s',
nextText: 11
},
]
},
{
id: 10,
text: 'You got this! Thanks to you, now we are leaving Earth successfully ',
image: 'rocket_leaving.gif',
options: [
{
text: '← Back',
nextText: 9
},
{
text: 'Let\'s crack the next one',
nextText: 12
},
]
},
{
id: 11,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 9
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
{
id: 12,
text: 'Its a long distance journey ahead. Object X is located somewhere near Uranus at the outskirts of Solar System. But ofcourse there is plenty to explore.',
image: 'uranus.jpg',
options: [
{
text: '← Back',
nextText: 9
},
{
text: 'Explore',
nextText: 13
},
]
},
{
id: 13,
text: 'Oh wow! We have reached Asteriod belt, the smallest and innermost known circumstellar disc in the Solar System. Do you know that about half its mass is contained in the four largest asteroids: Ceres, Vesta, Pallas, and Hygiea. Speaking of which can you guess the mass of the Asteriod belt?',
image: 'asteroid-belt.png',
options: [
{
text: '4% mass of the Sun',
nextText: 15
},
{
text: '4% mass of the Earth',
nextText: 15
},
{
text: '4% mass of the Moon',
nextText: 14
},
{
text: '4% mass of the Jupiter',
nextText: 15
},
]
},
{
id: 14,
text: 'Perfection! Bye Bye Asterid belt. Next stop Jupiter',
image: 'asteroid-belt.png',
options: [
{
text: '← Back',
nextText: 13
},
{
text: 'Go to Jupiter',
nextText: 16
},
]
},
{
id: 15,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 13
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
{
id: 16,
text: 'Jupiter, the fifth and the largest planet in the solar system. Isn\'t it beautful? It has 80 known moons but do you know which is the largest?',
image: 'jupiter.png',
options: [
{
text: 'Callisto',
nextText: 18
},
{
text: 'Europa',
nextText: 18
},
{
text: 'lo',
nextText: 18
},
{
text: 'Ganymede',
nextText: 17
},
]
},
{
id: 17,
text: 'Perfection! Time to bid farewell to Jupiter',
image: 'jupiter.png',
options: [
{
text: '← Back',
nextText: 16
},
{
text: 'Close to destination?',
nextText: 19
},
]
},
{
id: 18,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 16
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
{
id: 19,
text: 'We are closing in on Object X. But the crew members are quite in a perplexed state right now. Object X looks nothing like the researchers had speculated. Infact it looks more like .... an advanced spacecraft attached to a rock',
image: 'alienAst.jpg',
options: [
{
text: 'Abandon mission. Go back ',
nextText: 16
},
{
text: 'Explore the ship.',
nextText: 20
},
]
},
{
id: 20,
text: 'The researchers land on Object X in the hopes of finding something relevant, but to their dismay and relief at the same time, the spaceship seems to be abandoned. The Object has been controlled automatically by some kind of advanced space race.',
image: 'alienAst.jpg',
options: [
{
text: 'Go back ',
nextText: 19
},
{
text: 'Continue',
nextText: 21
},
]
},
{
id: 21,
text: 'Unfortunately one of the crew members presses a button on the ship out of curiosity causing the ship to override. All the doors in the ship gets sealed and an alien hologram like technology pops up and presents them with 4 options to choose from. They have no other choice but go with the flow.',
image: 'alienAst.jpg',
options: [
{
text: ' Go back ',
nextText: 20
},
{
text: 'Show options',
nextText: 22
},
]
},
// Meeting point 2
{
id: 123,
text: 'Hmm... I guess we are now presented with another set of 4 alien language options. I think this might be it! Let\'s get going...',
image: 'alienAst.jpg',
options: [
{
// exo planets
text: '⟒⌖⍜⌿⌰⏃⋏⟒⏁⌇',
requiredState: (currentState) => !currentState.EP,
setState: { EP: true},
nextText: 90
},
{
// Neutron
text: '⋏⟒⎍⏁⍀⍜⋏ ⌇⏁⏃⍀',
requiredState: (currentState) => !currentState.NEU,
setState: { NEU: true},
nextText: 75
},
{
// Red Sup
text: '⍀⟒⎅ ⌇⎍⌿⟒⍀☌⟟⏃⋏⏁',
requiredState: (currentState) => !currentState.RS,
setState: { RS: true},
nextText: 102
},
{
// SAG
text: '⌇⏃☌⟟⏁⏁⏃⍀⟟⎍⌇ ⏃*',
requiredState: (currentState) => !currentState.SAG,
setState: { SAG: true},
nextText: 114
},
{
// Move to docs
text : 'I think you have reached the end of the journey!!.',
requiredState: (currentState) => currentState.EP && currentState.RS && currentState.SAG && currentState.NEU,
setState: { P2F: true},
nextText: 132
}
]
},
// Meeting point 1
{
id: 22,
text: ' Hmm.. the options seems to be in some unknow language. Ready to make a leap of faith? Let\'s see where it takes us',
image: 'alienAst.jpg',
options: [
{
// pulsar
text: '⌿⎍⌰⌇⏃⍀',
requiredState: (currentState) => !currentState.PUL,
setState: { PUL: true},
nextText: 23
},
{
// BSS
text: '⏚⟟⋏⏃⍀⊬ ⌇⏁⏃⍀ ⌇⊬⌇⏁⟒⋔',
requiredState: (currentState) => !currentState.BSS,
setState: { BSS: true},
nextText: 38
},
{
// WDwarf
text: '⍙⊑⟟⏁⟒ ⎅⍙⏃⍀⎎',
requiredState: (currentState) => !currentState.WD,
setState: { WD: true},
nextText: 50
},
{
// Nebula
text: '⋏⟒⏚⎍⌰⏃',
requiredState: (currentState) => !currentState.NEB,
setState: { NEB: true},
nextText: 62
},
{
// Move to Path 2
text : 'Display next set of coordinates.',
requiredState: (currentState) => currentState.WD && currentState.NEB && currentState.BSS && currentState.PUL,
setState: { P1F: true},
nextText: 123
}
]
},
// pulsar 1
{
id: 23,
text: 'Once your sensors begin to recover from the sudden change from teleportation, you notice extremely high magnetic field readings, about a million times that of the sun\'s. You also detect strong periodic pulses of electromagnetic radiation. But luckily your ship was quite over-engineered and has heavy radiation protection, but you still can\'t open the windows. This is how the intensity of radiation from the object looks like. What is this object causing this?',
image: 'PUL1.gif',
options: [
{
text: 'Pulsar',
nextText: 25
},
{
text: 'Red supergiants',
nextText: 24
},
{
text: 'White Dwarfs',
nextText: 24
},
{
text: 'Black holes',
nextText: 24
},
]
},
{
id: 25,
text: 'That\'s right. Let\'s move on',
image: 'PUL1.gif',
options: [
{
text: '← Back',
nextText: 23
},
{
text: 'Next',
nextText: 26
},
]
},
{
id: 24,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 23
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
// pulsar 2
{
id: 26,
text: 'The physicist on-board says “This is a pulsar, these are the clocks of the universe. Their bursts are as accurate as atomic clocks. They rotate extremely fast and emit powerful radiation from their magnetic poles. They are like a lighthouse and this one happens to point straight at us! Most of the time, they are ___”',
image: 'PUL2.gif',
options: [
{
text: 'White dwarfs',
nextText: 27
},
{
text: 'Red supergiants',
nextText: 27
},
{
text: 'Neutron stars',
nextText: 28
},
{
text: 'Red Dwarf',
nextText: 27
},
]
},
{
id: 28,
text: 'That\'s right. Let\'s move on',
image: 'PUL2.gif',
options: [
{
text: '← Back',
nextText: 26
},
{
text: 'Next',
nextText: 29
},
]
},
{
id: 27,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 26
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
// pulsar 3
{
id: 29,
text: 'He continues geeking out. “The data from these seemed so crazy that initially researchers thought they were from extraterrestrial civilizations! The signal from the first of these, CP1919, recorded in ___ was even dubbed LGM-1 for little green men!”',
image: 'PUL3.jpeg',
options: [
{
text: '1923',
nextText: 31
},
{
text: '1947',
nextText: 31
},
{
text: '1967',
nextText: 30
},
{
text: '1986',
nextText: 31
},
]
},
{
id: 30,
text: 'That\'s right. Let\'s move on',
image: 'PUL3.jpeg',
options: [
{
text: '← Back',
nextText: 29
},
{
text: 'Next',
nextText: 32
},
]
},
{
id: 31,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 29
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
// pulsar 4
{
id: 32,
text: 'Being neutron stars, they are incredibly dense and small, and rotate incredibly fast for something of this scale.This generates electric fields from strong varying magnetic fields, resulting in the acceleration of charged particles on the star surface, generating strong electromagnetic fields from the poles. The electromagnetic energy released is obtained from the rotational energy, so they eventually slow down. Pulsars last about ___ years before being too slow and “turning off”.',
image: 'PUL4.jpeg',
options: [
{
text: '10-100 billion',
nextText: 34
},
{
text: '1-10 billion',
nextText: 34
},
{
text: '100,000 - 1 million',
nextText: 34
},
{
text: '10-100 million',
nextText: 33
},
]
},
{
id: 33,
text: 'That\'s right. Let\'s move on',
image: 'PUL4.jpeg',
options: [
{
text: '← Back',
nextText: 32
},
{
text: 'Next',
nextText: 35
},
]
},
{
id: 34,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 32
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
// pulsar 5
{
id: 35,
text: 'White dwarfs can also be pulsars, the physicist says. But, since they are much less dense, their moment of inertia is much larger and so their rotation period is ___ than neutron star pulsars and are much rarer. The first one was found in ___. ',
image: 'PUL5.jpeg',
options: [
{
text: 'Higher, 1997',
nextText: 37
},
{
text: 'Higher, 2016',
nextText: 36
},
{
text: 'Lower, 1997',
nextText: 37
},
{
text: 'Lower, 2016',
nextText: 37
},
]
},
{
id: 36,
text: 'That\'s right. Let\'s move on',
image: 'PUL5.jpeg',
options: [
{
text: '← Back',
nextText: 35
},
{
text: 'Next',
nextText: 131
},
]
},
{
id: 37,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 35
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
// BSS 1
{
id: 38,
text: 'Wow! I guess we have reached a Binar Star System. \n Do you know that a binary star system is formed when the distance between the the 2 stars is less than ____',
image: 'BS1.jpg',
options: [
{
text: '600 Au',
nextText: 39
},
{
text: '3.2 light years',
nextText: 40
},
{
text: '1 parsec',
nextText: 40
},
{
text: '7 million Kilometres',
nextText: 40
},
]
},
{
id: 39,
text: 'That\'s right. Let\'s move on',
image: 'BS1.jpg',
options: [
{
text: '← Back',
nextText: 38
},
{
text: 'Next',
nextText: 41
},
]
},
{
id: 40,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 38
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
// BSS 2
{
id: 41,
text: 'The star system gravitational bound together , rotates around a common centre of mass referred to as',
image: 'BS2.jpg',
options: [
{
text: 'Barycentre',
nextText: 42
},
{
text: 'Metacentre',
nextText: 43
},
{
text: 'Centre of gravity',
nextText: 43
},
{
text: 'Singularity',
nextText: 43
},
]
},
{
id: 42,
text: 'That\'s right. Let\'s move on',
image: 'BS2.jpg',
options: [
{
text: '← Back',
nextText: 41
},
{
text: 'Next',
nextText: 44
},
]
},
{
id: 43,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 41
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
// BSS 3
{
id: 44,
text: 'The binary star system you are witnessing is 4U 1820-30 composed of neutron star and white dwarf with neutron and electron degeneracy pressures. The white dwarf gains in size through mass transfer forming an accretion disc and finally explodes releasing binding energy converting into K.E and lunlminosity . This is called as',
image: 'BSS23.gif',
options: [
{
text: 'Carbon explosion',
nextText: 45
},
{
text: 'Supernova',
nextText: 45
},
{
text: 'Stellar Novae',
nextText: 46
},
{
text: 'Neutrino bomb',
nextText: 45
},
]
},
{
id: 46,
text: 'That\'s right. Let\'s move on',
image: 'BSS23.gif',
options: [
{
text: '← Back',
nextText: 44
},
{
text: 'Next',
nextText: 47
},
]
},
{
id: 45,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 44
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},
// BSS 4
{
id: 47,
text: 'An important region in the system , where the gravitational potential is zero, called _____, the path for mass transfer between the stars are connected at a point called Inner Lagrange point .',
image: 'BS3.jpg',
options: [
{
text: 'Barycentre',
nextText: 48
},
{
text: 'Focal point',
nextText: 48
},
{
text: 'Centre of mass',
nextText: 48
},
{
text: 'Roche lobe',
nextText: 49
},
]
},
{
id: 49,
text: 'That\'s right. Let\'s move on',
image: 'BS3.jpg',
options: [
{
text: '← Back',
nextText: 47
},
{
text: 'Next',
nextText: 130
},
]
},
{
id: 48,
text: 'Oops! That did not go as planned. Let\'s give it one more shot',
image: 'default-image.jpg',
options: [
{
text: 'Try Again',
nextText: 47
},
{
text: 'Start from the beginning',
nextText: 1
},
]
},