Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
[[You have a closed door in front of you, do you choose to go through it?|door]]
[[1]]
<<set $hasKey1 to false>>
<<set $hasKey2 to false>>
<<set $hasKey3 to false>>
<<set $potion to 0>>
<<set $firsttime to true>>
/* syntax for hyperlink: [[destination name]] OR [[display statement|destination name]]*/[[Go back to the door you came through|door]]
<<if $firsttime is true>>
You found a container full of potion the floor!
<<set $potion to $potion + 1>>
<<set $firsttime to false>>
<</if>>
There are now two doors in front of you?
[[1|a]]
[[2]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto door>>
<</timed>>You found the first key!
<<set $hasKey1 to true>>
You find another potion on the floor.
<<set $potion to $potion + 1>>
Dead end, [[go back|1]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto 1>>
<</timed>>
Double-click this passage to edit it.
You are in a room with four doors. Where do you go?
<<if $hasKey1 is true>>
The locks open to your key.
[[1|aa]]
[[2|ab]]
[[3|ac]]
[[4|ad]]
<<else>>
but the doors are locked
[[go back|1]]
<</if>>
[[Go back to the door you came through|1]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto 1>>
<</timed>>Dead end, [[go back|a]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto a>>
<</timed>>You have now reached a room with eight doors.
<<if $haskey2 is true>>
[[1|aba]]
[[2|abb]]
[[3|abc]]
[[4|abd]]
[[5|abe]]
[[6|abf]]
[[7|abg]]
[[8|abh]]
<<else>>
But all doors are locked. Look for the key.
[[Go back|a]]
<</if>>
[[Go back to the door you came through|a]]You found the second key!
<<set $haskey2 to true>>
Dead end, [[go back|a]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto a>>
<</timed>>You find your third potion on the floor.
<<set $potion to $potion + 1>>
Dead end, [[go back|a]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto a>>
<</timed>>Dead end, [[go back|ab]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto ab>>
<</timed>>You find another potion!
<<set $potion to $potion + 1>>
Dead end, [[go back|ab]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto ab>>
<</timed>>You found the third key!
<<set $haskey3 to true>>
Dead end, [[go back|ab]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto ab>>
<</timed>>Dead end, [[go back|ab]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto ab>>
<</timed>>You have entered the biggest room yet.
But there is only one door...
<<if $haskey3 is true>>
[[Final Door]]
<<else>>
But the door is locked locked. Look for the key.
[[Go back|ab]]
<</if>>
[[Go back to the door you came through|ab]]Dead end, [[go back|ab]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto ab>>
<</timed>>You found the 5th and last potion.
<<set $potion to $potion + 1>>
Dead end, [[go back|ab]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto ab>>
<</timed>>Dead end, [[go back|ab]]
<<set $timer to 10>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 10s>>
<<goto ab>>
<</timed>>A long corridor lies before you.
You see another door at the end of it.
but...
there is a moster blocking it!
You can only beat it with having collected 5 potions:
You have found <<print $potion>> potions.
<<if $potion >= 5>>
You beat the monster!
[[Tressure Room]]
<<else>>
you need more potions to beat the monster.
You have died.
The game will restart...
<<set $timer to 15>>
<span id="time">placeholder text</span>
<<nobr>>
<<repeat 1s>>
<<set $timer to $timer - 1>>
<<replace "#time">>$timer seconds remaining...<</replace>>
<</repeat>>
<</nobr>>
<<timed 15s>>
<<goto door>>
<</timed>>
<</if>><img src="http://68.media.tumblr.com/1f1cededae5046b4d9c86a0139b1bb45/tumblr_inline_nq2i15M9Tr1ttwf3c_500.gif">