Inspiration
At 11:47 p.m., a Halloween birthday party freezes. Maya is halfway out the door, convinced she heard someone say she wasn’t wanted. Everyone else remembers the same moment differently.
We were inspired by how quickly a half-heard sentence can turn into a certainty. For the Kiroween Costume Contest, we made possession the way players investigate that gap. To find out what someone saw, you have to step into their point of view.
What it does
You play as a ghost exploring two handcrafted mysteries. When you possess someone, the room changes with them. Fog hides what they missed, their mood colours the scene, and the words they heard fill in gaps in the Overheard strip.
Collect clues across perspectives, then combine them in the Grimoire to challenge assumptions. One character can see who was on the phone. Another saw where everyone was standing. Put those clues together and a different explanation emerges. When the key assumptions are exposed, the curse lifts and the scene replays what happened.
In Your Story mode, you can describe a misunderstanding of your own. The game turns it into a playable scene framed as possible perspectives, imagined by AI.
How we built it
We built the browser game with TypeScript, React, and React Three Fiber. The rooms, props, and characters are built in code, and the sound is synthesized with the Web Audio API. A shared Zod schema validates both handcrafted and generated scenes. Your Story uses DeepSeek through OpenRouter, screens submissions before generation, and validates the output before it enters the game. The live app runs on AWS Lambda with private S3 storage.
We used Kiro specs to define how an overheard sentence fills in as players possess different characters. Steering captured rules for evidence visibility and accessibility. When we added overheardLines, the Schema/doc sync hook flagged the data model documentation that needed updating, so we fixed it in the same change.
Challenges we faced
The hardest design problem was making perspective-taking something the player actively does. We tied clues to where each character was looking and split a key line of dialogue across several people. Switching perspectives became part of solving the mystery.
Performance surprised us too. Profiling showed that the blur behind the HUD was more expensive than we expected. We removed it, switched to static shadows, and added adaptive quality settings.
What we learned
We found that a small change in what the player knows can make a familiar room feel unsettling. The strongest moment came when the same words suddenly meant something different because the player finally had the missing context.
Built With
- amazon-web-services
- aws-lambda
- deepseek
- drei
- kiro
- openrouter
- postprocessing
- react
- react-three-fiber
- three.js
- typescript
- vite
- vitest
- web-audio-api
- webgl
- zod
- zustand
