Make a Game

Who is at the Door

Who is at the Door
Who is at the DoorWho is at the Door
Who is at the Door

Who is at the Door

Who is at the DoorWho is at the Door

Who’s at the Door? – In‑Depth Game Description

Overview

Who’s at the Door? is a minimalist HTML5 horror experience that puts the player in a claustrophobic, dimly‑lit corridor. Every few seconds a figure appears at the end of the hallway – sometimes a real intruder, sometimes a nightmarish hallucination born from the protagonist’s deteriorating sanity. The player must quickly decide whether to take medication to steady their mind or to open the door and confront the visitor. One wrong choice and the night ends in terror; survive long enough and you’ll discover the truth behind the endless knock.

Core Gameplay Loop

  1. A visitor’s portrait fades into view at the door, accompanied by a short line of dialogue.
  2. The player chooses one of two actions:
    • Take Medication – Reduces the chance of hallucinations for the next encounter but costs a small amount of sanity.
    • Open Door – Forces the encounter. If the visitor is a hallucination, you survive; if it’s a real intruder, the game ends.
  3. The outcome is displayed, sanity is updated, and the next visitor appears after a brief pause.
  4. The cycle repeats until the player either survives the required number of encounters or loses.

Game Features

  • Atmospheric Visuals – Dark green‑tinted corridor, eerie lighting, and a central character with exaggerated, glossy features that evoke a surreal, unsettling mood.
  • Simple Touch‑Friendly Controls – Two large buttons (“Medication” and “Open Door”) work on both desktop mouse clicks and mobile taps.
  • Sanity Management – A visible sanity meter forces strategic use of medication; over‑reliance drains your mental health.
  • Randomized Encounters – Each visit is randomly selected as a hallucination (70% chance) or a real intruder (30% chance), keeping tension high.
  • Progress Tracker – Shows the current encounter count (e.g., “Visitor 4/10”) so players know how close they are to surviving the night.
  • Win/Loss Screens – Clear victory message when all required encounters are survived, and a stark game‑over screen for failures.
  • Offline Playability – All assets are embedded or locally hosted, allowing the game to run without an internet connection.

FAQ

Q: Do I need an internet connection to play?
A: No. The game is a single HTML file with all assets inline, so it works offline after the first load.
Q: Can I play on a mobile device?
A: Yes. The interface is designed for touch input and scales to fit small screens.
Q: How many visitors must I survive?
A: The default win condition is surviving 10 encounters without your sanity dropping to zero.
Q: What does the sanity meter represent?
A: Sanity reflects the protagonist’s mental stability. Taking medication lowers sanity slightly, while certain events (e.g., repeated hallucinations) can also reduce it.
Q: Is there any way to cheat or skip encounters?
A: No. The game disables rapid button spamming and enforces a short cooldown between encounters to maintain tension.
Q: Will there be additional levels or story content?
A: The MVP focuses on the core loop. Future updates may expand the narrative, add new visitor types, and introduce environmental puzzles.

Technical Details

  • Built with pure HTML5, CSS3, and vanilla JavaScript – no external libraries or frameworks.
  • Responsive layout using flexible units and media queries for desktop and mobile.
  • All graphics are simple PNG/SVG assets embedded via data: URIs to keep the file self‑contained.
  • State is managed in a single JavaScript object, making the code easy to read and extend.

Conclusion

Who’s at the Door? delivers a tight, atmospheric horror experience that challenges players to trust their instincts and manage limited mental resources. With its striking visual style, intuitive controls, and relentless tension, the game offers a memorable night‑time showdown that will keep players on edge from the first knock to the final survivor’s breath.

How to Play “Who’s at the Door?”

You are trapped in a dim corridor. Visitors appear at the door – some are real, others are terrifying hallucinations. Your goal is to survive by making the right choice each time.

Controls

  • Take Medication – Click or tap the Medication button to calm your mind. This reduces the chance of hallucinations but slightly lowers your sanity.
  • Open Door – Click or tap the Open Door button to let the visitor in. If the visitor is real, you lose; if it’s a hallucination, you survive.

Gameplay Loop

  1. A visitor appears at the door with a portrait and a short line of dialogue.
  2. Decide quickly:
    • Press Medication to stay safe but lose a small sanity point.
    • Press Open Door to confront the visitor.
  3. The outcome is shown:
    • Hallucination → you survive, sanity stays the same.
    • Real intruder → game over.
  4. Repeat until you either survive the required number of encounters or your sanity drops to 0.

Winning & Losing

  • Win: Survive 10 visitor encounters without your sanity reaching zero.
  • Lose: Open the door on a real visitor or let sanity fall to zero.

Tips

  • Use medication sparingly – it protects you but drains sanity.
  • Watch the visitor’s appearance and dialogue for subtle clues.
  • Stay calm and make decisions quickly; hesitation can be fatal.