<center> ----- ###(text-style: "expand")[(text-style: "blur")[(font: "Skia")[Office (text-style:"fade-in-out")[Horror]]]]</h> ----- (font: "Skia")+(font: "white")[(text-style:"blur")[by: Marcus Stach]] (font: "Skia")[(font: "white")[(link-repeat: 'START')[(track: 'music', 'playwhenpossible')(goto: 'real first passage')]]] </center> (track: 'music', 'loop', true) (track: 'music', 'play') <center> ----- ###(text-style: "expand")[(text-style: "blur")[(font: "Skia")[Office (text-style:"fade-in-out")[Horror]]]]</h> ----- (align:"<==")+(box:"XXXXXXXXX=")[(font: "Skia")[ They say that the definition of insanity is doing the same thing over and over again, expecting a different result... ...care to [(text-style: "underline")+(text-colour:white)[[test it? |Intro]]]] ] (set: $death to 0)<center> $death / 7 _______________ (align:"<==")+(box:"XXXXXXXXX=")[{(if:$death > 0)[(display: "return from death")]}There's a flicker of light as the hallway light blinks out, engulfing the office in a foreboding darkness as the only light comes from the dimly glowing exit sign above the elevator. You should probably... (if:$death < 7)[(display:"choices")] ] (if:$death is 7)[(display: "end")] </center> <center> (align:"<==")+(box:"XXXXXXXXX=")[You pause, [eyes darting around...](mouseout: "eyes darting around...")[...the office around you familiar but eerily changed...the shadows stretch unnaturally...](mouseout: "the shadows stretch unnaturally...")[your every breath seems to echo]. You glance at the hallway light that just (text-style:"fade-in-out")[went out], hoping it will turn back on. There's a quiet sound that brushes past your ears, so quiet you can't quite tell what it is. You tilt your head slightly before [(text-style: "underline")+(text-colour:white) [(link-repeat: 'a glimpse of red')[(track: 'scream', 'playwhenpossible')(goto: 'a glimpse of red')]]] enters your vision. (if: $death >= 2)[(display: "close eyes link")]] </center> <center> (align:"<==")+(box:"XXXXXXXXX=")[[<img src="https://gcdnb.pbrd.co/images/y2UBLE14JZot.jpg?o=1" width="" height="500" alt="bloodyhandprint"/>] You do your best to not trip or run into anything in the dark, the unnatural silence of the office announcing your every step. The exit sign illuminates your path, it's glow red to an almost unnatural extent, seemingly beconing you to hell... You reach the elevator, stretching your hand out to [(text-style: "underline")+(text-colour:white)+(text-style:"fidget")[[press the button.|a woman appears]]]] </center>(track: 'scream', 'play') <center> (align:"<==")+(box:"XXXXXXXXX=")[ A woman's (text-style: "underline")+(text-colour:white)[(link-rerun: "low, sinister chuckle")[(track: 'red-laugh', 'play')]] sounds near your ear, and an overwhelming amount of red covering your vision... These are the last two things you are aware of before your head is approaching the floor at an alarming rate, your body still upright. Your eyes lose their light before your decapitated head even hits the floor.] YOU DIED (set: $death to $death +1) [(text-style: "underline")+(text-colour:white)[[START OVER? |Intro]]] </center><center>(align:"<==")+(box:"XXXXXXXXX=")[You're startled by the woman who (live: 1s)[(transition-arrive: "dissolve")+(text-style:"bold")[appears]] directly in front of you. ] [<img src="https://gcdnb.pbrd.co/images/HN8WVCemnt2W.png?o=1" width="" height="400" alt="the woman in red"/>] (align:"<==")+(box:"XXXXXXXXX=")[ You stumble back slightly to create some distance between you. The woman is pale, so pale she reminds you of a corpse. (mouseout: 'corpse')[Her eyes are empty of life.] The woman's (text-style: "underline")+(text-colour:white)[(link-rerun: "low, sinister chuckle")[(track: 'red-laugh', 'play')]] sounds. "How unfortunate...you all are not the prey I intended to catch...but prey is still prey." The woman crones lightly. "Prey...?"](mouseout: 'Prey...?')[ You need to [(text-style: "underline")+(text-colour:white)[[[run|floor run]]]]] <center> Run in the direction of the (text-style:"shudder")+(text-colour:red)[exit] Got it? [[Better run quick...|Start]] |map>[(display: "Map")] { (set: $map to "")\ |workarea>[ (for: each _y, ...(range: 1, $dungeon's length))[ (for: each _x, ...(range: 1, $dungeon's (_y)'s length))[ (if: _x is $positionX and _y is $positionY)[ (set: $map to it + "P ") ] (else-if: $dungeon's (_y)'s (_x) is 0)[ (set: $map to it + "&num; ") ] (else-if: $dungeon's (_y)'s (_x) is 1)[ (set: $map to it + ". ") ] (else-if: $dungeon's (_y)'s (_x) is 2)[ (set: $map to it + "E ") ] ] (set: $map to it + " <br>") ] ]\ $map { (set: $seperator to "")\ (set: _north to $dungeon's ($positionY - 1)'s ($positionX)) (set: _east to $dungeon's ($positionY)'s ($positionX + 1)) (set: _south to $dungeon's ($positionY + 1)'s ($positionX)) (set: _west to $dungeon's ($positionY)'s ($positionX - 1)) (if: _north is 1)[ $seperator (link: "North")[ (set: $positionY to it - 1) (replace: ?map)[(display: "Map")] ] (set: $seperator to " | ") ] (else-if: _north is 2)[ $seperator[[Exit]] (set: $seperator to " | ") ] (if: _east is 1)[ $seperator (link: "East")[ (set: $positionX to it + 1) (replace: ?map)[(display: "Map")] ] (set: $seperator to " | ") ] (else-if: _east is 2)[ $seperator[[Exit]] (set: $seperator to " | ") ] (if: _south is 1)[ $seperator (link: "South")[ (set: $positionY to it + 1) (replace: ?map)[(display: "Map")] ] (set: $seperator to " | ") ] (else-if: _south is 2)[ $seperator[[Exit]] (set: $seperator to " | ") ] (if: _west is 1)[ $seperator (link: "West")[ (set: $positionX to it - 1) (replace: ?map)[(display: "Map")] ] ] (else-if: _west is 2)[ $seperator[[Exit]] ] } }<center>(align:"<==")+(box:"XXXXXXXXX=")[ (if:$death is >= 0)[ You reach the emergency exit! Ignoring the OUT OF ORDER sign on the door, you push the door open and rush into the stairwell. The unfamiliar feeling of free falling consumes you. ]] YOU DIED (set: $death to $death +1) (text-style: "underline")+(text-colour:white)[[START OVER? |Intro]]{ (set: $dungeon to (array: (a: 0,0,0,0,0,0,0,0,0,0,0), (a: 0,1,1,1,0,1,1,1,1,1,0), (a: 0,0,0,1,0,0,0,0,0,1,0), (a: 0,1,0,1,1,1,1,1,0,1,0), (a: 0,1,0,0,0,0,0,1,0,1,0), (a: 0,1,1,1,1,1,1,1,0,1,0), (a: 0,0,0,0,0,0,0,1,0,1,0), (a: 0,1,0,1,1,1,1,1,1,1,0), (a: 0,1,0,1,0,0,0,1,0,0,0), (a: 0,1,1,1,0,1,1,1,1,2,0), (a: 0,0,0,0,0,0,0,0,0,0,0) ) ) (set: $positionX to 2) (set: $positionY to 2) } You find yourself exactly where you began, the feeling of death still so vivid. (align:"<==")+(text-style: "underline")+(text-colour:white)[[Go to the stairwell]]<center>(align:"<==")+(box:"XXXXXXXXX=")[ The metal stairs creek under your feet as you rush down them. You've gone down many flights of stairs, but you're still not at the bottom You look at the sign for the floor number as you pass. |step0>[6th Floor] (click: ?step0)[ (replace: ?step0)[ |step1>[6th Floor]] (click: ?step1)[ (replace: ?step1)[ |step2>[6th Floor]] (click: ?step2)[ (replace: ?step2)[ |step3>[6th Floor]] (click: ?step3)[ (replace: ?step3)[ |step4>[6th Floor]] (click: ?step4)[ (replace: ?step4)[ |step5>[6th Floor]] (click: ?step5)[ (replace: ?step5)[ |step6>[6th Floor]] (click: ?step6)[ (replace: ?step6)[ [[This is insane...]]] ] ] ] ] ] ] ] ]<center>(align:"<==")+(box:"XXXXXXXXX=")[ How is it possible that you keep passing the 6th floor?... It seems there's no way to continue going downwards. You must [(text-style: "underline")+(text-colour:white)[[enter the 6th floor.]]]]<center>(align:"<==")+(box:"XXXXXXXXX=")[ You enter the 6th floor. The office here is just as eerie as it was above. "You've already died before, haven't you mister?" A very young voice calls from directly behind you. [<img src="https://gcdnb.pbrd.co/images/22q8XQu1BzGF.png?o=1" width="" height="400" alt="innocent little girl"/>] "Maybe...$death times?" What?...How did she know?... "Hey mister, guess what? If you help me get my ball, I'll tell you a secret." [(text-style: "underline")+(text-colour:white)[[A secret?]]] (if:$death >= 6)[(display: 'No thanks option...') ]]<center>(align:"<==")+(box:"XXXXXXXXX=")[ The little girl nods emphatically. "Yeah! It's a really cool secret! I know you would like it!" [(text-style: "underline")+(text-colour:white)[[How do you know I'd like it?]]]]<center>(align:"<==")+(box:"XXXXXXXXX=")[ "Because! You're trying to leave this place, but you can't get below the 6th floor, right? That's the secret! I can tell you how to leave this place! Cool, right?" You can help me leave this place? Yeah! But you have to help me get my ball first! [(text-style: "underline")+(text-colour:white)[[Pinky promise]]?"]]<center>(align:"<==")+(box:"XXXXXXXXX=")[ "Great! It's just up there!" She says, pointing to a nearby closet where a red ball sits atop. Reaching it isn't an issue for you, and you grab it with ease. You go to hand here the ball only to notice she's standing a little further away than you thought. "Mister! [(text-style: "underline")+(text-colour:white)[[Pass it]]] to me!" ] Press the space bar to move the ball. =|= <!-- Create a floating box at coordinates using X and Y with =" --> (float-box:"=X===","==Y=")[ <div id="myBox" style="width:50px; height:50px; background-color: red;"></div> ] <script> (function(){ var box = document.getElementById("myBox"); if (!box) { console.error("Floating box element not found."); return; } var posX = 0; document.addEventListener("keydown", function(e) { if(e.code === "Space"){ posX += 10; // move 10px to the right per press box.style.transform = "translateX(" + posX + "px)"; } }); })(); </script> =|= [<img src="https://gcdnb.pbrd.co/images/22q8XQu1BzGF.png?o=1" width="" height="400" alt="innocent little girl"/>] |==| [(text-style: "underline")+(text-colour:white)+(live: 4s)[(transition-arrive:"dissolve")[[The ball bounces and hits the little girl's feet.]]](stop:)]<center>(align:"<==")+(box:"XXXXXXXXX=")[ The girl giggles. "Thanks, mister. Now, here's [(text-style: "underline")+(text-colour:white)[[the secret]]] I promised." She leans in close to whisper in your ear. ]<center> [<img src="https://gcdnb.pbrd.co/images/vZ9zYT352t7F.png?o=1" width="" height="400" alt="evil little girl"/>] (align:"<==")+(box:"XXXXXXXXX=")[ "Mister...the only way to leave this place is to die. Otherwise you're just trapped here like the rest of us...So die, okay?" Your vision goes dark as though a light switch were flipped. One moment you exist, the next you don't. ] YOU DIED (set: $death to $death +1) [(text-style: "underline")+(text-colour:white)[[START OVER? |Intro]]] music: https://cdn.freesound.org/previews/608/608620_10182789-lq.mp3 scream: https://cdn.freesound.org/previews/592/592024_12467243-lq.mp3 red-laugh: https://cdn.freesound.org/previews/559/559137_10501287-lq.mp3 squeak: https://cdn.freesound.org/previews/668/668387_1015240-lq.mp3(track: 'red-laugh', 'play') <center>(align:"<==")+(box:"XXXXXXXXX=")[ Your eyes close. It may seem childish, but you're not willing to expierence the same horror as before. The woman chuckles. "Getting smarter, hm?...I guess dying $death times will do that to you." [(text-style: "underline")+(text-colour:white)[[Keep your eyes closed]]]][(text-style: "underline")+(text-colour:white)[[Close your eyes.]]]<center>(align:"<==")+(box:"XXXXXXXXX=")[ Time passes for what feels like an eternity. |step0>[Keep your eyes closed] (click: ?step0)[ (replace: ?step0)[ |step1>[Keep your eyes closed]] (click: ?step1)[ (replace: ?step1)[ |step2>[Keep your eyes closed]] (click: ?step2)[ (replace: ?step2)[ |step3>[Keep your eyes closed]] (click: ?step3)[ (replace: ?step3)[ |step4>[Keep your eyes closed]] (click: ?step4)[ (replace: ?step4)[ |step5>[Keep your eyes closed]] (click: ?step5)[ (replace: ?step5)[ |step6>[Keep your eyes closed]] (click: ?step6)[ (replace: ?step6)[ [[God, I hope she's gone]]] ] ] ] ] ] ] ] ]<center>(align:"<==")+(box:"XXXXXXXXX=")[ Your eyes peer open slowly, no (text-style:"rumble")[(text-colour:red)[red]] in sight. Before you get the chance to feel any relief, you hear a quiet [(text-style: "underline")+(text-colour:white)[(link-repeat: 'squeak')[(track: 'squeak', 'playwhenpossible')(goto: 'squeak')]]]. ](track: 'squeak', 'play') <center>(align:"<==")+(box:"XXXXXXXXX=")[ It's quiet at first, the squeaking of what is probably a mouse, but within seconds it builds to a deafening roar, like a hoard of mice are screaming all at once. You turn your head with growing horror as mice burrow out from the floor under your feet at an unnatural speed. Dread fills you as [(text-style: "underline")+(text-colour:white)[[they begin to climb you]]. ]]<center>(align:"<==")+(box:"XXXXXXXXX=")[ The mice quickly overwhelm you, climbing you without rest no matter how much you shove them off you. They begin to bite you, tearing into your flesh as you bleed. |step0>[You bleed] (click: ?step0)[ (replace: ?step0)[ |step1>[You bleed]] (click: ?step1)[ (replace: ?step1)[ |step2>[You bleed]] (click: ?step2)[ (replace: ?step2)[ |step3>[You bleed]] (click: ?step3)[ (replace: ?step3)[ |step4>[You BLEED]] (click: ?step4)[ (replace: ?step4)[ |step5>[YOU BLEED]] (click: ?step5)[ (replace: ?step5)[ |step6>[YOU BLEED (text-colour:red)[RED]]] (click: ?step6)[ (replace: ?step6)[ [[YOU DIED]]] ] ] ] ] ] ] ] ]<center>(align:"<==")+(box:"XXXXXXXXX=")[ The mice have consumed you. ] YOU DIED (set: $death to $death +1) [(text-style: "underline")+(text-colour:white)[[START OVER? |Intro]]](align:"<==")+(text-style: "underline")+(text-colour:white)[[Jump out the window]]<center>(align:"<==")+(box:"XXXXXXXXX=")[ The world outside the building is obscured by fog, but even if you fall to you death, at least you'll die outside this damn building. You fall, surrounded by the fog. The fog consumes you. ] YOU DIED (set: $death to $death +1) [(text-style: "underline")+(text-colour:white)[[START OVER? |Intro]]] </center>[(text-style: "underline")+(text-colour:white)[[No thanks...]]]<center>(align:"<==")+(box:"XXXXXXXXX=")[ The girl seems surprised for a moment. [(text-style: "underline")+(text-colour:white)[["Mister..."]]]]<center> [<img src="https://gcdnb.pbrd.co/images/vZ9zYT352t7F.png?o=1" width="" height="400" alt="evil little girl"/>] (align:"<==")+(box:"XXXXXXXXX=")[ Her face splits into a smile. "You've been through this before, haven't you? $death times is a lot, Mister. But I already told you, dying is the only escape." Your vision goes dark as though a light switch were flipped. One moment you exist, the next you don't. ] YOU DIED (set: $death to $death +1) [(text-style: "underline")+(text-colour:white)[[START OVER? |Intro]]] { (set: $map2 to "")\ |workarea2>[ (for: each _y, ...(range: 1, $dungeon2's length))[ (for: each _x, ...(range: 1, $dungeon2's (_y)'s length))[ (if: _x is $positionX2 and _y is $positionY2)[ (set: $map2 to it + "P ") ] (else-if: $dungeon2's (_y)'s (_x) is 0)[ (set: $map2 to it + "&num; ") ] (else-if: $dungeon2's (_y)'s (_x) is 1)[ (set: $map2 to it + ". ") ] (else-if: $dungeon2's (_y)'s (_x) is 2)[ (set: $map2 to it + "E ") ] ] (set: $map2 to it + " <br>") ] ]\ $map2 { (set: $seperator2 to "")\ (set: _north to $dungeon2's ($positionY2 - 1)'s ($positionX2)) (set: _east to $dungeon2's ($positionY2)'s ($positionX2 + 1)) (set: _south to $dungeon2's ($positionY2 + 1)'s ($positionX2)) (set: _west to $dungeon2's ($positionY2)'s ($positionX2 - 1)) (if: _north is 1)[ $seperator2 (link: "North")[ (set: $positionY2 to it - 1) (replace: ?map2)[(display: "Map 2")] ] (set: $seperator2 to " | ") ] (else-if: _north is 2)[ $seperator2[[Exit]] (set: $seperator2 to " | ") ] (if: _east is 1)[ $seperator2 (link: "East")[ (set: $positionX2 to it + 1) (replace: ?map2)[(display: "Map 2")] ] (set: $seperator2 to " | ") ] (else-if: _east is 2)[ $seperator2[[Exit]] (set: $seperator2 to " | ") ] (if: _south is 1)[ $seperator2 (link: "South")[ (set: $positionY2 to it + 1) ((replace: ?map2)[(display: "Map 2")] ] (set: $seperator2 to " | ") ] (else-if: _south is 2)[ $seperator2[[Exit]] (set: $seperator2 to " | ") ] (if: _west is 1)[ $seperator2 (link: "West")[ (set: $positionX2 to it - 1) (replace: ?map2)[(display: "Map 2")] ] ] (else-if: _west is 2)[ $seperator2[[Exit]] ] } }{ (set: $dungeon2 to (array: (a: 0,0,0,0,0,0,0,0,0,0,0), (a: 0,0,1,1,0,1,1,1,1,1,0), (a: 0,0,0,1,0,0,0,0,0,1,0), (a: 0,0,0,1,1,1,1,1,0,1,0), (a: 0,0,0,0,0,0,0,1,0,1,0), (a: 0,0,1,1,1,1,1,1,0,1,0), (a: 0,0,0,0,0,0,0,1,0,1,0), (a: 0,0,0,1,1,1,1,1,1,1,0), (a: 0,0,0,1,0,0,0,1,0,0,0), (a: 0,0,0,1,0,1,1,1,1,2,0), (a: 0,0,0,0,0,0,0,0,0,0,0) ) ) (set: $positionX2 to 2) (set: $positionY2 to 2) } (text-style: "underline")+(text-colour:white)[[Give Up|Welcome to Office Horror]] [(text-style: "underline")+(text-colour:white)[[Stay where you are]]] [(text-style: "underline")+(text-colour:white)[[Head towards the elevator]]] (if:$death >= 2)[(display: "you remember")] (if:$death >= 4)[(display: "you remember 2")]