Click here for free DL of the app version that can save data.
No:7947 1039
Prev Next
A horror game about a girl who’s parents go missin..ALL
Developer User4107|Date and time 23/7/11 7:58:39
Build time 54.127 sec|Game capacity 22.096KB|Script


Sure! Here's a playable sample game written in a single HTML file, enclosed in script tags, using JavaScript to implement a horror game scenario as you described:




The Haunted House

Mom and Dad have gone missing. The house is quiet. Suddenly, you start hearing strange noises...
function explore() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You cautiously explore the house. Sinister shadows move in the corners. What now?"; choices.innerHTML = '\ \ '; } function hide() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You hide in the closet, trembling with fear. The monsters get closer. What now?"; choices.innerHTML = '\ '; } function searchBasement() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You descend into the dark and creepy basement. The monsters are lurking in the shadows. What now?"; choices.innerHTML = '\ '; } function checkBedroom() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You enter your parents' eerie bedroom. There is a note that reads 'Beware their wrath!' What now?"; choices.innerHTML = '\ \ '; } function callPolice() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You dial 911 but there is no response. The line is dead. What now?"; choices.innerHTML = '\ '; } function stayQuiet() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You stay quiet, hoping the monsters won't find you. It's getting closer... What now?"; choices.innerHTML = ''; } function tryEscape() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You make a run for it, adrenaline rushing through your veins. The monsters chase you. What now?"; choices.innerHTML = '\ '; } function faceMonsters() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You confront the monsters head-on. They are terrifying, but you stand your ground. What now?"; choices.innerHTML = ''; } function lookForExit() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You frantically search for an exit, panicking with each dead end. What now?"; choices.innerHTML = '\ '; } function readNote() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You read the note again, trying to make sense of its cryptic message. What now?"; choices.innerHTML = '\ '; } function searchWardrobe() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You search the wardrobe, hoping to find a clue. Instead, you find a horrifying monster. What now?"; choices.innerHTML = '\ \ '; } function goBack() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You turn around to go back but the door slams shut on its own, trapping you inside. What now?"; choices.innerHTML = '\ '; } function waitInLivingRoom() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You wait anxiously in the living room, praying for help to arrive. The house creaks ominously. What now?"; choices.innerHTML = '\ '; } function tryFrontDoor() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You try to open the front door, desperate to escape. It's locked. What now?"; choices.innerHTML = '\ '; } function dodgeMonsters() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You nimble through the dark corridors, narrowly avoiding the monsters' grasp. What now?"; choices.innerHTML = '\ '; } function findWeapon() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You desperately search for a weapon to defend yourself. Time is running out. What now?"; choices.innerHTML = '\ '; } function fightBack() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You muster all your courage and fight back against the monsters. The battle rages on. What now?"; choices.innerHTML = '\ '; } function suddenlyDisappear() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "In a split second, you vanish into thin air. The monsters are left bewildered. What now?"; choices.innerHTML = '\ '; } function prayForEscape() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You fall to your knees and pray for a miraculous escape. The monsters draw nearer. What now?"; choices.innerHTML = '\ '; } function decodeMessage() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You analyze the message, deciphering its hidden meaning. Suddenly, it all makes sense. What now?"; choices.innerHTML = '\ '; } function tearNote() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You tear the note apart in frustration. The pieces scatter across the room. What now?"; choices.innerHTML = '\ '; } function scream() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You let out a blood-curdling scream, hoping someone will hear you. The monster covers your mouth. What now?"; choices.innerHTML = '\ '; } function fightMonster() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "With all your strength, you fight the monster. It's a desperate battle for survival. What now?"; choices.innerHTML = '\ '; } function hideAgain() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You hide once more, praying the monsters won't find you. Darkness envelopes the room. What now?"; choices.innerHTML = '\ '; } function bangOnDoor() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You bang on the door, pleading for someone to open it. No response. What now?"; choices.innerHTML = '\ '; } function searchForKey() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You frantically search for a key to open the door. Each second feels like an eternity. What now?"; choices.innerHTML = '\ '; } function investigateSound() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You cautiously approach the sound, your heart pounding in your chest. What now?"; choices.innerHTML = '\ \ '; } function smashWindow() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You smash a window, shards of glass flying. The cold night air fills the room. What now?"; choices.innerHTML = '\ '; } function searchForAnotherExit() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You desperately search for another exit, your heart pounding in your ears. What now?"; choices.innerHTML = '\ '; } function findSecretPassage() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You stumble upon a secret passage in the midst of the chaos. It offers a glimmer of hope. What now?"; choices.innerHTML = '\ '; } function findHidingSpot() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You find a hiding spot, hoping the monsters won't discover you. The tension is unbearable. What now?"; choices.innerHTML = '\ '; } function grabKnife() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You muster your courage and grab a sharp knife. It feels cold and comforting in your hand. What now?"; choices.innerHTML = '\ '; } function pickUpFlashlight() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You pick up a flashlight, the beam of light cutting through the darkness. It's now or never. What now?"; choices.innerHTML = '\ '; } function keepFighting() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You keep fighting, pushing yourself to the limits. Victory is within your reach. What now?"; choices.innerHTML = '\ '; } function runForYourLife() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You flee from the monsters, heart pounding in your chest. Escaping is your only priority. What now?"; choices.innerHTML = '\ '; } function reappear() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You reappear behind the monsters, catching them off guard. Victory is within reach. What now?"; choices.innerHTML = '\ '; } function stayHidden() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You stay hidden, a phantom in the dark. The monsters remain oblivious to your presence. What now?"; choices.innerHTML = '\ '; } function youWakeUp() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "Your eyes snap open. It was all just a nightmare. You're safe in your own bed. What now?"; choices.innerHTML = '\ '; } function keepPraying() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You keep praying, your plea growing louder. The monsters close in. What now?"; choices.innerHTML = '\ '; } function performRitual() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You follow the steps of the ritual, hoping it will break the curse. The air thickens with an ominous energy. What now?"; choices.innerHTML = '\ '; } function burnNote() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You set the note on fire, watching as it turns to ashes. The room becomes eerily silent. What now?"; choices.innerHTML = '\ '; } function collectPieces() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You collect the torn pieces of the note, determined to put them back together. What now?"; choices.innerHTML = '\ '; } function searchForMissingKey() { const output = document.getElementById("output"); const choices = document.getElementById("choices"); output.innerHTML = "You frantically search for the missing key, your hands shaking with anticipation. What now?"; choices.innerHTML = '

[PR]現在の本の売れ筋ランキング

Click here for free DL of the app version that can save data.

(C)2023 HisashiApp