<h1>Dungeon Quest</h1> [[<div id='btn'>Start</div>|transition-jail]] {<script> var audio= document.createElement('audio'); if (audio.paused == false) { audio.pause(); audio.currentTime = 0; }else{ audio.src= 'audio/01-title.ogg'; audio.load(); audio.loop = true; audio.play(); } $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You wake up from a deep sleep to find yourself in a jail cell. You're not sure how long you've been asleep, or how you got there... [[<div id='btn'>Continue</div>|jail-cell]] {<script> audio.pause(); var audio= document.createElement('audio'); if (audio.paused == false) { audio.pause(); audio.currentTime = 0; }else{ audio.src= 'audio/02-dungeon.ogg'; audio.load(); audio.loop = true; audio.play(); } $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You look around the cell but see no way to escape.<br>The door is locked, and you can hear the guard snoring. <div id='btn'> What would you like to do? {(if: (history:) contains "jail-1b")[]\ (else:)[[[Go back to sleep.|jail-1]]]} {(if: (history:) contains "jail-2b")[]\ (else:)[[[Yell for help!|jail-2]]]} {(if: (history:) contains "hallway")[[[Pick the cell door lock.|jail-3b]]]\ (else:)[[[Pick the cell door lock.|jail-3]]]} </div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/wake.wav" autoplay>} You lay back down and close your eyes... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>[[Continue|jail-1b]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>It's no good!<br>You are too anxious to settle down or relax.[[Continue|jail-cell]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You attempt to hollar for help... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>[[Continue|jail-2b]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>Your throat is dry, and your voice is soft and hoarse.<br>No one hears you...[[Continue|jail-cell]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You use a small piece of metal and attempt to pick the cell door lock... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>The lock clicks, and the door creaks open.[[Continue|transition-hallway]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>But the guard hears you fiddling with the lock and shoves you back from it!<br>He falls back asleep.[[Continue|jail-cell]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} <div id='btn'>(if: (history:) contains "potion")[<h1>GAME OVER</h1><br>You have died.<br>But that strange potion you found starts glowing...<br><br>[[Use revival potion.|hallwayC]]]\ (else-if: (history:) contains "hall")[<h1>GAME OVER</h1><br>You have died.<br>But that strange potion you found starts glowing...<br><br>[[Use revival potion.|hall-B]]]\ (else-if: (history:) contains "battle")[<h1>GAME OVER</h1><br>You have been vaporized.<br>The mist of your revival potion lingers in the air...<br><br>[[Activate revival potion?|revive]]]\ (else:)[<h1>GAME OVER</h1><br>You have died.<br><br>[[Retry?|title-screen]]] </div> {<script> audio.pause(); var audio= document.createElement('audio'); if (audio.paused == false) { audio.pause(); audio.currentTime = 0; }else{ audio.src= 'audio/04-gameover.ogg'; audio.load(); audio.loop = false; audio.play(); } $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/fail.wav" autoplay>} {(if: (history:) contains "hallway-1b")[You look around the hallway and see a sleeping guard and a window.]\ (else-if: (history:) contains "hallway-3b")[You look around the hallway and see a treasure chest and a sleeping guard]\ (else-if: (history:) contains "hallway-1b" + "hallway-3b")[You look around the hallway.<br>The guard is fast asleep.] (else:)[You look around the hallway and see a treasure chest, a sleeping guard, and a window.]} What would you like to do? <div id='btn'> {(if: (history:) contains "hallway-1b")[]\ (else:)[[[Loot the chest.|hallway-1]]]} {(if: (history:) contains "hallway-2")[]\ (else:)[[[Fight the guard.|hallway-2b]]]} {(if: (history:) contains "hallway-3b")[]\ (else:)[[[Sneak out the window.|hallway-3]]]} </div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You slip out the door and sneak into the hallway... [[<div id='btn'>Continue</div>|hallway]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/travel.ogg" autoplay>} You try to pick the lock on the chest... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>The chest pops open!<br>[[Continue|hallway-1b]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>The guard hears you fiddling with the lock and wakes up!<br>He grabs you and takes you back to the jail cell...[[Continue|jail-cell]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You slowly sneak up behind the sleeping guard... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>You swiftly judo chop the guard in the neck![[Continue|hallway-2c]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>The guard jolts awake and grabs you before you can do anything!<br>He drags you back to the jail cell...[[Continue|jail-cell]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You silently scramble over to the window and grasp the window sill... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>You unlatch the window and leap forth...[[Continue|hallway-3b]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>You trip and smack your shin on the sill instead!<br>You hobble back a little, your shin throbbing in pain.[[Continue|hallway]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You travel further down the hall and eventually come to an intersection... <div id='btn'>[[Continue.|intersection]]</div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/travel.ogg" autoplay>} You lay down and become strangely drowsy. You fall into a deep, deep sleep... <h1>FOREVER.</h1> [[<div id='btn'>Continue</div>|death]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/drop.wav" autoplay>} You yell for help at the top of your lungs!<br>...The guard awakes, startled, and sternly tells you to shut up. [[<div id='btn'>Continue</div>|jail-cell]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/yell.wav" autoplay>} But it's filled to the brim with poisonous snakes! They strike out and bite you, and the pain is excrutiating. The light starts to dim as you feel the venom in your blood... [[<div id='btn'>Continue</div>|death]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/snakes.wav" autoplay>} The guard's neck makes an audible "crack!" He crumples into a pile on the floor, dead. You step over his lifeless body. [[<div id='btn'>Continue</div>|transition-intersection]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/drop.wav" autoplay>} The hallway splits in two. You can go either left or right. What would you like to do? <div id='btn'>[[Go left.|room]] [[Go right.|hallwayB]]</div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} As you pass through the window, you realize that you're hundreds of feet above the ground! You fall to your doom and hit the ground with a splat. [[<div id='btn'>Continue</div>|death]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/drop.wav" autoplay>} (if: (history:) contains "potion")[You look around the room and see a window.<br><br>What would you like to do?]\ (else-if: (history:) contains "locked")[You look around the room and see a treasure chest and a window.<br><br>What would you like to do?]\ (else:)[You wander left and discover a small storage room.<br>In it you see a treasure chest and a window.<br><br>What would you like to do?] <div id='btn'> {(if: (history:) contains "potion")[]\ (else:)[[[Loot the chest.|potion]]]} [[Sneak out the window.|locked]] [[Go back.|intersection]] </div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You venture further down the hallway. You discover a guard standing in the middle of the hallway facing away from you. <div id='btn'> What would you like to do? [[Fight the guard.|fight]] [[Sneak past the guard.|sneak]] [[Go back.|intersection]] </div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/travel.ogg" autoplay>} The chest is unlocked. You pop it open and discover a small bottle with a glowing liquid in it. You place it in your pocket. [[<div id='btn'>Go back.</div>|room]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/potion.ogg" autoplay>} You try the window, but it's latched shut and won't budge. [[<div id='btn'>Go back.</div>|room]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You lunge at the guard, grappling him. You quickly put the guard in a sleeper hold... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>He struggles as your choke-hold tightens.<br>After a few seconds his body goes limp...[[Continue|hall-transition]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>The guard reaches back and flings you over his should.<br>You slam to the ground, but quickly hop to your feet.[[Continue|fight-b]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> audio.pause(); var audio= document.createElement('audio'); if (audio.paused == false) { audio.pause(); audio.currentTime = 0; }else{ audio.src= 'audio/03-battle.ogg'; audio.load(); audio.loop = true; audio.play(); } $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You crouch down and attempt to sleep stealthily past the guard... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>For some reason, the guard is distracted by something outside the window.<br>You get past him without him noticing you.[[Continue|hall-transition]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>You stealthily make it past the guard,<br>but suddenly you feel something grab the back of your collar.[[Continue|sneak-b]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You use a small piece of metal and attempt to pick the cell door lock... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to ("SUCCESS!")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>The lock clicks, and the door creaks open.[[Continue|transition-hallway]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You venture further down the hallway, leaving the guard behind. The hallway opens up into a larger hall... [[<div id='btn'>Continue</div>|hall]] {<script> audio.pause(); var audio= document.createElement('audio'); if (audio.paused == false) { audio.pause(); audio.currentTime = 0; }else{ audio.src= 'audio/06-cavern.ogg'; audio.load(); audio.loop = true; audio.play(); } $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/travel.ogg" autoplay>} You swing at the guard again, but he dodges it. Off balance, you stumble as he lunges forward, thrusting his sword into your gut. [[<div id='btn'>Continue</div>|death]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} It's the guard! You writhe your way out of his grasp and square up to him. [[<div id='btn'>Continue</div>|fight]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You grab a loose stone and swing at the guard... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>You move too quickly for the guard.<br>The stone strikes his temple and he collapses...[[Continue|hall-transition]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>The stone barely misses the guard.[[Continue|fight-c]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You're not quite sure how, but you suddenly jolt awake in the middle of a hallway intersection. Strangely, it feels like you've been here before... [[<div id='btn'>Continue</div>|intersection]] {<script> audio.pause(); var audio= document.createElement('audio'); if (audio.paused == false) { audio.pause(); audio.currentTime = 0; }else{ audio.src= 'audio/02-dungeon.ogg'; audio.load(); audio.loop = true; audio.play(); } $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/wake.wav" autoplay>} You stand at the entrance of a large hall. (if: (history:) contains "statue")[You can see a door in the distance on the other side.]\ (else:)[You can see a door in the distance on the other side.<br>To your left side is a small statue.] <div id='btn'> What would you like to do? {(if: (history:) contains "statue")[]\ (else:)[[[Examine the statue.|statue]]]} {(if: (history:) contains "halldoor")[[[Cross the hall to the door.|halldoor2]]]\ (else:)[[[Cross the hall to the door.|halldoor]]]} </div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You gaze at the statue. It has a strange aura about it... [[<div id='btn'>Touch statue.</div>|statue-b]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You begin to cross the large hall. As you do, a stone gives way underfoot... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>You quickly dart across the floor, dodging all booby traps.[[Continue|door]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>You try evading the trap, but the a trap-door gives way beneath you...[[Continue|death]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You hear a "clink" in the distance... [[<div id='btn'>Continue</div>|hall]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script> <audio src="audio/statue.ogg" autoplay>} <div id='btn'>(if: (history:) contains "statue")[You try the door handle.<br>It unlatches and the door slowly opens...[[Go through the door.|exterior-transition]]]\ (else:)[You try the door handle, but it's locked. You don't see a keyhole or any way to unlock it.<br>Maybe there's something else nearby?[[Go back across the hall.|halldoor-b]]]</div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} The doorway opens up to the exterior of the dungeon. The sunlight is blinding, but you are almost free... [[<div id='btn'>Escape to freedom.</div>|exterior]] {<script> audio.pause(); var audio= document.createElement('audio'); if (audio.paused == false) { audio.pause(); audio.currentTime = 0; }else{ audio.src= 'audio/07-exterior.ogg'; audio.load(); audio.loop = true; audio.play(); } $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You begin to cross back to the other side of the hall. The booby traps activate again... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>Once again, you expertly dodge all the traps,<br>and you make it back to the other side unscathed.[[Continue|hall]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>You try evading the traps, but a previously unseen spike shoots from the wall.<br>It impales you...[[Continue|death]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You suddenly come to. You're standing in a large hall... You've been here before. [[<div id='btn'>Continue</div>|hall]] {<script> audio.pause(); var audio= document.createElement('audio'); if (audio.paused == false) { audio.pause(); audio.currentTime = 0; }else{ audio.src= 'audio/cavern.ogg'; audio.load(); audio.loop = true; audio.play(); } $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You sprint outside of the dungeon as fast as you can. The fresh air and sun feels envigorating! [[<div id='btn'>Continue</div>|wizard]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} ...But the sky suddenly darkens. |clue)[A storm brews, thunder sounds, and lightning strikes.] |clue2)[A fog rolls in, and from the mist, a figure appears...] |clue3)[It's an...] |clue4)[<h1>EVIL WIZARD!</h1> |clue5)[[[<div id='btn'>Continue</div>|battle]]]] {(live: 2s)[ (show: ?clue) (stop:) ]} {(live: 4s)[ (show: ?clue2) (stop:) ]} {(live: 6s)[ (show: ?clue3) (stop:) ]} {(live: 8s)[ (show: ?clue4) (stop:) ]} {(live: 10s)[ (show: ?clue5) (stop:) ]} {<script> audio.pause(); var audio= document.createElement('audio'); if (audio.paused == false) { audio.pause(); audio.currentTime = 0; }else{ audio.src= 'audio/08-wizardbattle.ogg'; audio.load(); audio.loop = true; audio.play(); } $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} "YOU SHALL NOT PASS!" the wizard shrieks. He twirls his glowing staff and casts a ball of energy at you. <div id='btn'> What will you do? (if: (history:) contains "battle1")[] (else:)[[[Stand your ground!|battle1]]] [[Dodge the spell!|battle2]] [[Run away!|battle3]] </div> {$('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You stand your ground! |clue)[Like an idiot.] <div id='btn'> |clue2)[The glowing ball of energy hits you and vaporizes you immediately...[[Continue|death]]]</div> {(live: 2s)[ (show: ?clue) (stop:) ]} {(live: 4s)[ (show: ?clue2) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You swiftly jump out of the way of the magical energy! It vaporizes the ground where you stood... <div id='btn'>[[Continue|battle4]]</div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You turn around an start running toward the door to the dungeon. <div id='btn'> (link: "Run!")[But it's no good!<br>The wizard uses his magic to slam the door shut![[Continue|battle4]]] </div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} Despite all odds, your body somehow reconstitutes itself. You materialize outside the dungeon walls. [[<div id='btn'>Continue</div>|wizard]] {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} The mist clears and the storm dissipates... |clue)[<h1>Congratulations!</h1>] |clue2)[Despite all odds, you have defeated the wizard, and successfully escaped the dungeon!] |clue3)[YOU ARE FREE!] <div id='btn'> |clue4)[(link:"Start new game?")[(reload:)]] </div> {(live: 2s)[ (show: ?clue) (stop:) ]} {(live: 4s)[ (show: ?clue2) (stop:) ]} {(live: 6s)[ (show: ?clue3) (stop:) ]} {(live: 8s)[ (show: ?clue4) (stop:) ]} {<script> audio.pause(); var audio= document.createElement('audio'); if (audio.paused == false) { audio.pause(); audio.currentTime = 0; }else{ audio.src= 'audio/09-victory.ogg'; audio.load(); audio.loop = false; audio.play(); } $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} "EEEEEEE! HA HA HA!" the wizard cackles. "YOU CANNOT ESCAPE MY POWER!" You look around but see nothing to fight back with... <div id='btn'> [[Continue|battle5]] </div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} The wizard casts another energy spell at you. What would you like to do? <div id='btn'> [[Fight back, somehow.|wizfight]] {(if: (history:) contains "battle3")[]\ (else:)[[[Run away!|battle3]]]} </div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You stand firmly, facing the shrieking wizard. |clue)[You feel a swelling of energy grow within you like you've never felt before...] |clue2)[You instinctively reach forth your hand...] |clue3)[The energy tingles and channels to your finger tips...] <div id='btn'> |clue4)[[[Continue|wizfight2]]] </div> {(live: 2s)[ (show: ?clue) (stop:) ]} {(live: 4s)[ (show: ?clue2) (stop:) ]} {(live: 6s)[ (show: ?clue3) (stop:) ]} {(live: 8s)[ (show: ?clue4) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} Suddenly, the energy bursts forth from your hand like lightning, heading straight for the wizard! <div id='btn'> {(link: "Roll Dice")[ (set: $roll to (either: "SUCCESS!","FAILURE.")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>The energy strikes the wizard square in the chest.<br>He bursts into a million pieces![[Continue|endgame]]]] ](else:)[ (replace: ?result) [[<img src="images/d20failure2.gif"></img>]|clue)[<br>$roll<br>The wizard casts a protection barrier.<br>Your energy blast dissipates, leaving the wizard unscathed.[[Continue|fail]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} The wizard absorbs your energy blast and swings his glowing staff in the air. He cackles and casts another, larger magical energy ball, and flings it in your direction! <div id='btn'> (link: "Dodge it!")[But it's no good!<br>The energy is too wide to dodge, and it hits you, vaporizing you instantly![[Continue|death]]] </div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You begin to cross the large hall. As you do, a stone gives way underfoot... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to ("SUCCESS!")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>You quickly dart across the floor, dodging all booby traps.[[Continue|door]]]] ] ]} |result)[] </div> {(live: 4s)[ (show: ?clue) (stop:) ]} {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>} You slowly sneak up behind the sleeping guard... <div id='btn'> {(link: "Roll Dice")[ (set: $roll to ("SUCCESS!")) (if: $roll is "SUCCESS!")[ (replace: ?result) [[<img src="images/d20success2.gif"></img>]|clue)[<br>$roll<br>You swiftly judo chop the guard in the neck![[Continue|hallway-2c]]]] ] ]} |result)[] {(live: 4s)[ (show: ?clue) (stop:) ]} </div> {<script> $('#btn').click( () => new Audio('audio/bling.ogg').play() ); </script>}