Hack #6: Zed · Zed
30 Apr, 07:47
It's 2 AM. Joe wakes to a scream from the apartment next door. He goes up to check on Mrs. Hollis. He won't be coming back. Five cassette tapes. Four locks. One key. One way out — and it's not really a way out at all. Apartment 4B is a 15–20 minute browser horror game built in 36 hours for ElevenHacks. The thesis is simple: audio IS the game. Every meaningful beat of fear, bonding, and betrayal lands through ElevenLabs-generated voice — the cold-open narration, Mrs. Hollis's six tape recordings, Joe's reactions, the screams, the heartbeat under the climax, even the music bed. Three custom voices carry the entire emotional arc: Mora as Mrs. Hollis, Zelda as Joe, Jerry B. as the narrator. Every audio file is pre-baked at build time and committed as MP3 — the deployed site makes zero runtime API calls. The visual side is intentionally bare-bones. Every mesh is a Three.js primitive (box, cylinder, plane). Every texture — wallpaper, polaroids, the wall calendar, the spice rack — is drawn programmatically into a CanvasTexture. No GLTF imports, no Sketchfab. The PS1-era lo-fi aesthetic is on-trend for indie horror and lets sound design carry the weight. A 10-minute lighter battery counts down whenever you're playing. When it runs out, the game ends. Solve five gated tape puzzles to find the front-door key, turn it, and trigger the time-loop ending — pixel-identical to the cold open. You wake on the couch at 2:47 AM. There is no escape. Built with: Vite · React · TypeScript · React Three Fiber · Three.js · Drei · Howler.js · Zustand · @react-three/postprocessing · ElevenLabs (TTS + Sound Generation + Music API) · Zed (with its AI agent for pair-programming).
