Haunted Mansion is a browser-based interactive horror game where your choices determine your fate. You play as the heir to a mysterious mansion left behind by your deceased grandfather. What seems like an inheritance quickly turns into something far more unsettling.
Explore different rooms, make decisions, and try to survive what exists inside the house.
- Typewriter text effect with pacing and pauses
- Sound effects including typing, heartbeat, and ambient whispers
- Visual effects such as screen flickering and screen shake on death
- Health system that changes based on player decisions
- Dynamic background changes for different scenes
- Branching storyline with multiple paths and endings
- Restart system for replayability
- Read the story as it appears on screen
- Make decisions using the available buttons
- Monitor your health
- Progress through different story paths
Each decision changes the outcome and leads to different experiences within the mansion.
haunted-mansion/
│
├── index.html
├── style.css
├── script.js
│
├── images/
│ ├── haunted-house.png
│ ├── mansion-inside.png
│ ├── scary-dog.png
│ └── ghost.png
│
└── sounds/
├── typing.mp3
├── heartbeat.mp3
└── whisper.mp3
�� whisper.mp3
- Download or clone the project
- Ensure all files are in the correct folders
- Open index.html in a web browser
Note: Click anywhere on the page once to enable audio, as required by most browsers.
- HTML
- CSS
- JavaScript
- For the best experience, use sound
- The game includes flashing and audio effects
- Best viewed on desktop browsers
Developed by the creator of the project
Once you enter the mansion, the experience may not end when you expect it to.