comparison descends.rb @ 0:1eef88068f9f tip

initial commit of maze game source
author ferencd
date Sun, 15 Sep 2019 11:46:47 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1eef88068f9f
1 $generic_arrives =
2 {
3 :gotext1 => 'Shame on you evil <img src="/img/funnyfellow.png" style="vertical-align:middle;" title="The small fellow"> for locking me in this endless maze',
4 :gotext2 => 'But I will ...',
5 :gotext3 => '... get out of here ...',
6 :gotext4 => '... I ... will ... ',
7 :gotext5 => '...find the Exit ... '
8 }
9
10 $arrives =
11 {
12 1 => {
13 :gotext1 => 'You wake up in a dark place... Decrepit walls surround ancient dimly lit corridors...',
14 :gotext2 => 'It eerily resembles the dungeon that small funny fellow (him: <img src="/img/funnyfellow.png" style="vertical-align:middle;" title="the small fellow">) was brawling about in the tavern yesterday.',
15 :gotext3 => '...oh what a night...',
16 :gotext4 => '...but now that you come think more about it ... that beer had a peculiar taste...',
17 :gotext5 => '... might be that <img src="/img/funnyfellow.png" style="vertical-align:middle;" title="The small fellow"> has tricked you???'
18 },
19
20 2=> {
21 :gotext1 => 'It must have been definitely the beer. That codger must have sneaked something into it.',
22 :gotext2 => 'There is no other way to explain the sudden loss of senses and how you could have listen to his endless tales about the grandeur of some ancient building he gave everything for.',
23 :gotext3 => 'Now you really want to get out just to find him and shake some sense into his head.'
24 }
25 }
26
27 $generic_descends =
28 {
29 :leave_text => 'You carefully go down the ruined stairs...<p>Maybe there is an exit somewhere below you.',
30 :story_text => "<p><img src='/img/funnyfellow.png' style='vertical-align:middle;' title='The small fellow'> was right. Noone gets out from here alive.<p>"
31 }
32
33 $timerun_descends =
34 {
35 :leave_text => "Congratulations, you have completed the level. Your time was:<center><span id='time_completed'></span></center>",
36 :story_text => 'You can try another level now'
37 }
38
39
40 $adventure_descend_summary =
41 {
42 :leave_text => "Congratulations, you finished this level.<p> <table border='0'><tr><td><img src='/img/skel/wl/d_wl_1.png'</td></tr></table>",
43 :story_text => "<p>Now is the perfect time to try again<p> <button id='gobutton' onclick='location.reload();'>Try again</button>"
44 }
45
46 $descends =
47 {
48 1 => {
49 :leave_text => 'As you descend the steps you hear distant screams echoing faintly through the corridors.<p>The world goes black and you fall down the rungs.',
50 :story_text => "<p><img src='/img/funnyfellow.png' style='vertical-align:middle;' title='The small fellow'> was right. Noone gets out from here alive.<p>"
51 }
52 }
53
54
55
56 =begin
57
58 - 3:IN -
59 You wake up hungry. What on earth is this place? You sort of recall a dream in which you have
60 explored a huge maze... one which pretty much looks like this one. But in your dream you have found the exit.
61 Then why are you still inside? Why??? And there was a small funny fellow too...
62
63 - 3:OUT -
64
65 You carefully go down the stairs. Then you suddenly stop, you hear a loud scream from the darkness below.
66 After you slip, you fall and hit your head. The world blackens out.
67
68 - 4:IN -
69
70 You open your eyes after the most horrible nightmare you ever had. You dreamt your were thrown in an endless maze
71 there was no exit, just deeper and deeper mazes, with walls reasonably similar to
72 the ones you see in front of you, while the same stench as in your nightmare fills your lungs... Oh no ...
73
74 - 4:OUT -
75
76 Something seems to be moving down there... Looks almost ... can't be ... like a tall human. So you are not alone?
77
78 - 5:IN -
79
80 You hear creepy clinks and the sound of distant scuttling fills the corridor. What might that be?
81 Where did you end up?
82 - Hello! Is someone there?
83
84 - 6 -
85
86 Suddenly a faint voice echoes through the air, and the image of a small fellow strikes into your mind...
87 The voice whispers about a revenge for something that happened at the tavern. Yesterday. Or the day before. Or before?
88
89 - 7 -
90
91 Kal Emen ...
92
93 This is the name of the cursed bastard who deceived you into this nightmare of a maze. You barely remember it
94 as you wake up from your dark sleep, but ... did he build this dungeon? Why?
95
96 - 10 -
97
98 Another of those strange dreams. They sort of became regular recently. This one tells the tale of a king, the last of
99 the ancients who has commended the building of the endless maze. But you woke up too quickly due to some noise
100 in the vicinity...
101
102
103 - 15 -
104 You dreamt about a miserable builder who has built his soul in the walls of an endless maze. Was he the small fellow you have
105 met in the tavern? What tavern? You can't remember when you were in a tavern for the last time.
106
107
108 - 50 -
109 The truth is even worse than the dreams. Now that you know fully the tale of the mad king, the greedy bricklayer and the
110 one thousand and one souls in the walls you cannot handle it anymore. You collapse to the floor and wait for your end.
111 Nothing happens. Just the darkness surrounds you. Your friends, the skeletons slowly approach. They were once humans,
112 just like you. They were the bricklayers, victims of the mad kings' maniac grandeur. And somewhere among them is the
113 kings' daughter.
114
115 But now you are much like them. Now you are one of them... There is just one difference between you and them.
116
117 You know that there is an exit from this maze. Kal Emen has found it. And you will have to look for it till you find it.
118 =end