I've always loved detective fiction but hated how most mystery games railroad you into preset dialogue options. So I built something different.
Murder Mystery AI is a browser-based solo detective game where the suspects are actually AI-powered. You type questions in natural language, and they respond in character. No preset trees. No "pick option A, B, or C." Just you, your questions, and a bunch of virtual suspects who may or may not be lying to you.
The Womb House is the first case. It's a horror-tinged family mystery set in a villa with missing square footage, a torn wedding photo, and an attic that whispers. You play as the detective sent to figure out what happened to a missing witness. There are four suspects — each with distinct personalities, alibis, and secrets. Some are cooperative. Some are evasive. One of them might be the killer.
What makes it work is the combination of freeform interrogation and physical evidence. You can search rooms, examine objects, and cross-reference what you find against what suspects tell you. If someone claims they were in the garden at midnight but you found a muddy footprint in the hallway, you can call them out on it.
Each case runs 60-90 minutes, depending on how thorough you are. The current one is expert difficulty, which means suspects are less forthcoming and the evidence is more ambiguous. I've watched playtesters spend twenty minutes arguing with a virtual suspect about a torn photograph, only to realize the real clue was in the room description they skimmed past.
The tech stack is fairly straightforward — React frontend, Claude API for the AI suspects, and a state management system that tracks what each suspect knows, what they've admitted to, and what they're still hiding. The interesting engineering challenge was building a prompt pipeline that keeps suspects in character while still allowing them to react dynamically to unexpected player questions. A butler shouldn't break character to discuss quantum physics, but he should be able to lie convincingly about his whereabouts.
It's free to play, no account needed. I'm sharing it here because I'm curious how the dev community approaches narrative AI — especially the balance between "character consistency" and "meaningful player agency." If you try it, let me know which suspect you broke first.
Top comments (0)