Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var t;
- var k="NO";
- var d=-1;
- function start(){
- document.getElementById('output').innerHTML="<font color=white>You wake up... Your in a dark concret room. You see a hatch. You<br><input type=button value=open_it onclick=lea()><input type=button value=stay onclick=stay()></font>";
- d=Number(d)+ 1;
- document.getElementById('death').innerHTML="<font color=white>Deaths = "+ d;
- }function lea(){
- document.getElementById('output').innerHTML="<font color=white>You open the hatch and you see a ladder. You climb down and are meeted by a 2 way coridor.You<br><input type=button value=Go_left onclick=l()><input type=button value=Go_straight onclick=s()></font>";
- }function stay(){
- document.getElementById('output').innerHTML="<font color=white>You stay. You wait 10 minutes and then you hear foot steps. The hatch opens and there stands a giant person wearing a cloak. You see they hold a switch-blade. Before you can react they pounce and kill you. <br><input type=button value=restart onclick=start()></font>";
- }function l(){
- document.getElementById('output').innerHTML="<font color=white>You hear footsteps coming in your direction. You estimate it will take 3 seconds for the person to see you. You<br><input type=button value=turn_around onclick=lea2()><input type=button value=Prepare_to_fight onclick=f()></font>";
- t = setTimeout(late,3000);
- function late(){
- document.getElementById('output').innerHTML="<font color=white>You take too long and when he sees you he throws a switchblade and it kills you.<br><input type=button value=restart onclick=start()></font>";
- }
- }function s(){
- document.getElementById('output').innerHTML="<font color=white>You see a coridor. You<font color=white><br><input type=button value=enter onclick=e()><input type=button value=turn_around onclick=lea2()></font>";
- }function lea2(){
- document.getElementById('output').innerHTML="<font color=white>You turn around and come back to the 3 way coridor room.You<br><input type=button value=Go_left onclick=l2()><input type=button value=Go_right onclick=r()><input type=button value=Go_straight onclick=s()></font>";
- clearTimeout(t);
- }function l2(){
- document.getElementById('output').innerHTML="<font color=white>You walk in are are meeted by a 3 way pathway. You<br><input type=button value=Go_straight onclick=()><input type=button value= onclick=()><input type=button value= onclick=()><input type=button value= onclick=()></font>";
- }function e(){
- document.getElementById('output').innerHTML="<font color=white>You come into a Corridor. You<br><input type=button value=Go_right onclick=r2()><input type=button value=Go_straight onclick=s1()><input type=button value=Turn_around onclick=lea2()></font>";
- }function r2(){
- document.getElementById('output').innerHTML="<font color=white>You walk in the Coridor and you hear a scream. You<br><input type=button value=Turn_around onclick=e()><input type=button value=go_in onclick=r2p()></font>";
- }function r2p(){
- document.getElementById('output').innerHTML="<font color=white>You walk in and there is a huge person covered in blood. You start to back up but he notices you and before u know it, you dead.<br><input type=button value=restart onclick=start()></font>";
- }function l3(){
- document.getElementById('output').innerHTML="<font color=white>You go left and are meeted by a wall. You<br><input type=button value=Turn_around onclick=s1()></font>";
- }function s1(){
- document.getElementById('output').innerHTML="<font color=white>You are meeted by a 3 way crossroad. You<br><input type=button value=Go_left onclick=l3()><input type=button value=Go_right onclick=r3()><input type=button value=Go_straight onclick=s3()><input type=button value=Turn_around onclick=e()></font>";
- }function r3(){
- document.getElementById('output').innerHTML="<font color=white>You walk in and are meeted my a 2 way crossroad. You<br><input type=button value=Go_straight onclick=s2()><input type=button value=Go_right onclick=r4()><input type=button value=Turn_around onclick=s1()></font>";
- }function s2(){
- document.getElementById('output').innerHTML="<font color=white>You walk straight and see a pile of mangled corpse.You turn around and see a giant man. He staps you until you die.<br><input type=button value=restart onclick=e()></font>";
- }function r4(){
- document.getElementById('output').innerHTML="<font color=white>You go right and are meeted by a wall. You<br><input type=button value=Turn_around onclick=r3()></font>";
- }function s3(){
- document.getElementById('output').innerHTML="<font color=white>You go straight and you see a skeliton. You<br><input type=button value=turn_around onclick=s1()><input type=button value=inspect onclick=ins()></font>"; }function ins(){
- document.getElementById('output').innerHTML="<font color=white>You get up closer and see a glink in the rib-cage. You<br><input type=button value=Turn_around onclick=s1()><input type=button value=grab_it onclick=key()></font>";
- }function key(){
- document.getElementById('output').innerHTML="<font color=white>You reach in and grab what apears to be a key. You<br><input type=button value=turn_around onclick=s1()><input type=button value=inspect_it onclick=insk()></font>";
- }function insk(){
- }
- document.getElementById('output').innerHTML="<font color=white><br><input type=button value= onclick=()><input type=button value= onclick=()><input type=button value= onclick=()><input type=button value= onclick=()></font>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement