Oct 31, 2026year 2026relevance 66318 min read

Claude Built a Murder Mystery Game · Full Agent Workflow

Pat Simmons gave a team of Claude Opus 5.5 agents one goal: build a cinematic murder mystery that runs in a browser. Eight days later, the project had an audited story, a voiced cast, scripted Blender rooms, 3D characters, a Three.js game and twelve rounds of human-directed revision. This guide organizes the full workflow, exact costs, free Game Studio plugin, core prompts and the lessons that matter if you want to build your own.

Video credit: Pat Simmons.Source video: I Gave Claude 7 Days To Make the Most Realistic Murder Mystery Game.

Quick Summary

  • Dead Air on the Meridian is a playable browser mystery set on a snowbound 1936 sleeper train. The player searches rooms, interviews six suspects, tracks evidence on a corkboard and accuses a killer before dawn.
  • The build used a Claude Code plugin called Game Studio. Fifteen specialist roles share a ticket board, review one another's work and stop at four gates that only the human publisher can approve.
  • The story was created by a writers' room, reviewed by a narrative lead and attacked by three independent auditors. Automated solvers then checked that the case was fair, difficult and finishable.
  • Fish Audio Drama 3 supplied the directed voices, Blender scripts built and lit the rooms, RunPod supplied rented GPU capacity, and Three.js with WebGL delivered the game in a browser.
  • The creator reports an API-equivalent Claude cost of $4,196, about $25 in RunPod compute and roughly $1.40 for Fish Audio. He says his direct Claude cost came through normal subscriptions, so the API figure is a comparison estimate rather than his invoice.
  • The project took 8 days and 19 hours, moved through twelve main versions and still required continual human playtesting. The biggest improvements came from simplifying the interface, using blind reviews and checking the live browser result rather than trusting isolated renders.

--what to try first

  • Start with a small playable case. The free Game Studio path needs Claude Code and Python 3.9+, uses 2D art and placeholder voices, and requires no external API keys.
  • Separate creation from approval. A builder should not review its own story, character or renderer, and an agent should never approve a release gate on the publisher's behalf.
  • Lock the case before producing expensive art. Establish the victim, culprit, timeline, motives, lies, clues and endings, then have independent auditors try to break the mystery.
  • Give each specialist a defined quality bar and shared evidence. Parallel agents are useful only when tickets, dependencies, reviewers and acceptance tests are explicit.
  • Test the browser build, not just Blender renders. Materials, eyes, rigs, shaders and hair can all fail during export even when the source scene looks correct.
  • Use measurable interface rules. In this project, a test that rejected normal screens with more than 20 words solved a recurring overload problem more reliably than repeated requests to simplify.
  • Set hard spending boundaries before enabling paid services. Keep keys in environment files, cap rented GPU prices and runtime, auto-shut machines down and require approval before deployment or new purchases.
  • Treat the result as a documented experiment, not proof that agents can independently ship a commercial game. The human supplied direction, review, rejection, budget decisions and the final standard.

The result · Dead Air on the Meridian

The finished game places the player aboard the Meridian, a 1936 sleeper train stopped by snow. Radio personality Desmond Crane has been murdered, six passengers are hiding secrets and the sheriff arrives at dawn.

The player explores 3D rooms, finds clues in any order, interviews voiced suspects and organizes evidence on a draggable corkboard. Different accusations produce different outcomes, so the experience depends on both investigation and interpretation rather than a single linear cutscene.

You can play the current browser build at dead-air-meridian.vercel.app and inspect the creator's before-and-after breakdown at meridian-making-of.vercel.app. The companion AI for Mortals article contains the complete build diary, prompts and Game Studio download.

What it cost, and what the number actually means

Simmons reports $4,196 in API-equivalent Claude usage, about $25 in RunPod GPU rentals and approximately $1.40 for Fish Audio Drama 3. The work ran for 8 days and 19 hours and accumulated 9.7 billion tokens, 96% of them cache reads.

The Claude estimate breaks down to roughly $4,140 for Opus 5.5, $55 for Sonnet 5.5 and less than $1 for Haiku 4.5. By task, versions 1 through 12 account for $2,517, realistic characters for $764, the making-of site for $487 and coordination for $428.

The creator did not receive a $4,196 Claude bill. He used multiple standard subscriptions and calculated the equivalent at list API prices. Fish Audio sponsored the video and supplied API credit, and the Fish Audio link is an affiliate link. These disclosures matter when comparing the experiment with a normal production budget.

The reported workload was 202 agent-hours across 71 hours of agent replies. That is a reminder that parallel agents compress calendar time but do not make the underlying work disappear.

Game Studio · fifteen jobs, one shared board

Game Studio is a free Claude Code plugin created for the project. Its roles are producer, creative director, researcher, writers' room, narrative lead, story auditor, systems designer, art director, character artist, UI designer, voice director, engineer, QA lead, Blender artist and render wrangler.

The producer plans cycles and routes work. Creative and narrative roles protect the vision and logic. Art, UI, voice, engineering and QA own their production lanes. Blender and rendering are optional pro departments rather than requirements for the free path.

Every task lives on a shared ticket board with an owner, dependencies, status and a separate reviewer. Nobody approves their own work. The studio stops at G0 Concept, G1 Vertical Slice, G2 Content Complete and G3 Polish, and only the human publisher can approve, request changes or kill a milestone.

The initial planning pass produces five documents: game design, story, voices, look and technology. That shared specification keeps agents from solving different versions of the game in parallel.

Step 1 · write and audit the mystery before building it

The writers' room defines the true timeline, victim, culprit, motives, secrets, lies, clues and endings. A narrative lead reviews the complete case, then three auditors attack it from different angles: shortest-path solving, story quality and consistency.

The agents produced a narrative bible only after those reviews. Automated engineering checks then looked for a case that could be solved but not guessed immediately. The companion guide reports a minimum true-ending route of 16 actions and 90 in-game minutes, plus 10,000 random simulated games in which the correct ending appeared less than 1% of the time.

This is the most reusable part of the workflow. A mystery needs fair evidence and controlled information before it needs 3D art. Locking the case first prevents expensive rooms, voice lines and character animations from being built around a plot that later changes.

Step 2 · direct the cast with Fish Audio Drama 3

The voice director used Fish Audio Voice Design to describe each character, generated several candidates and selected 13 voices. Acting directions were added in brackets so a line could be steady, tired, warm, frightened or interrupted without changing the spoken text.

Drama 3 can generate multi-speaker scenes and return word timestamps. The project used those timings for captions and lip synchronization. According to the build diary, the team generated 775 takes, trimmed roughly 1,000 seconds of silence longer than a quarter second and re-recorded individual lines when the performance or pacing missed.

The final voice cost reported by the creator is about $1.40, but that figure reflects the pricing and sponsored credits available during this specific production. Check current pricing, permissions and commercial terms before budgeting a new game.

Step 3 · concept art, turnarounds and talking portraits

Character production began with generated concept art, front, side and back turnarounds, mood portraits and mouth-shape references. That gave the art and engineering agents a shared identity sheet instead of asking each tool to invent the character again.

The team tested several open-source talking-head systems before choosing FlashHead for the early 2D portraits. The creator reports 722 clips and about $6 in rented compute for this stage.

Later versions replaced most portraits with full 3D characters. MPFB supplied a free Blender-native human base. Rodin converted character photos into 3D heads more successfully than TRELLIS.2 in this test, then the agents transferred the face shape onto a rig that retained the controls required for animation.

Step 4 · build the train in headless Blender

The Blender agents did not click through the interface. They wrote Python scripts that created geometry at real dimensions, assigned materials, placed lights and baked the result. That makes the work reproducible and allows independent rooms or props to be generated in parallel.

RunPod supplied the GPU capacity. The project set a ceiling of about 40 cents per hour and a 45-minute limit per job, then shut instances down automatically. Total rented compute for the rooms was about $25 according to the creator.

The production lesson is to preserve the script, Blender file, rendered reference, export and browser capture for every approved room. A source render can look excellent while an exported material, mesh or lighting path fails in the game.

Step 5 · deliver the game with Three.js and WebGL

The team compared several delivery routes and stayed with Three.js and WebGL. It ran directly in a browser, allowed agents to inspect and test the result and avoided a large engine download. The creator reports that all tested renderer variants held 60 frames per second on his setup.

A Rust and Bevy experiment produced a much larger download and worse visual parity in this project. WebGPU extras softened some edges but also blurred faces, so they were not an automatic upgrade. The important choice was not the newest renderer. It was the route that preserved the scene, loaded quickly and could be verified repeatedly.

The engineering agents also compressed the 3D assets and unpacked them in the browser. This matters for a web game because an impressive room is not useful if players leave before its files load.

Making 3D characters speak and move

NVIDIA Audio2Face converted each Fish Audio line into facial animation. The build retained 52 face controls so jaw, lips and other expressions could follow speech, then added separate blinking, breathing, eye movement and gaze behavior to avoid a face that moved only at the mouth.

Motion came from public motion-capture sources and Adobe Mixamo. Several visible bugs were not model failures but rigging mismatches: T-pose animation applied to A-pose characters held the arms out, seated loops raised hands repeatedly and torso motion made characters hop while talking.

Hair remained the hardest visual problem. The final system used thousands of thin strands, but hats were still an effective production shortcut because they hid the most fragile hairline. This is good art direction: solve the viewer's experience, not every technical problem in isolation.

Twelve versions · the human review loop

Version 1 had 147 words on the first interview and 304 on the accusation form. Version 2 showed one thing at a time and introduced a test that rejected ordinary screens with more than 20 words. Later versions added a short onboarding, full 3D characters, clearer questions, the corkboard notebook and free-order room search.

Other rounds improved browser parity, trimmed long silences, made the atmosphere scarier and rebuilt characters on MPFB. Not every experiment survived. A face flashing behind a window was removed because the creator thought it looked bad, even though an agent had built it successfully.

The pattern was play, write specific notes, make one controlled change, compare the result and reject regressions. The final build was not the output of one prompt. It was the product of repeated human taste applied to agent-generated options.

What broke, and the fixes worth keeping

Agents graded their own work too generously, so a fresh reviewer compared shuffled, unlabeled outputs. Small crops hid broken arms and hands, so reviews moved to full frames and video. Screenshot tools sometimes froze a blink and created a false bug, so captures were repeated before changing the character.

A shader merge once removed every face from the game, which led to a rule to recapture after every renderer change. A background test disrupted an OBS recording, so heavy jobs were blocked during capture or moved to rented compute.

Prepaid balances also failed quietly. The team added credit checks and hard limits after a rented machine was terminated mid-session. Most importantly, nine main characters multiplied every rebuild and review. The creator now recommends starting with two if the goal is to prove the system.

A smaller, cheaper build you can start with

Install the free Game Studio plugin, choose the default free path and begin with the included terminal mystery. You can create a new case with authored dialogue, 2D art prompts and placeholder voices without enabling Blender, RunPod, Fish Audio or a live language model for suspects.

Limit the first original case to one location, two suspects, one victim, six clues and two endings. Require the story auditors and automated solver to pass before generating custom assets. Use simple illustrated portraits and a static room until the investigation loop is fun.

Add one premium layer at a time. First replace placeholder audio, then add a single scripted Blender room, then one rigged character. Measure whether each layer changes player comprehension, tension or completion before expanding it to the entire cast.

Authority, privacy and spending boundaries

Keep provider keys in a local environment file and never paste them into prompts, screenshots, public repositories or the browser bundle. Enable only the paid services required for the current milestone and use separate restricted keys where providers support them.

Agents may draft, test and prepare a deployment, but account creation, purchases, public release, paid GPU expansion and changes to billing limits should require human approval. Put the limits in configuration rather than relying on a conversational reminder.

Use original or licensed story material, character art, voices, music, motion data and 3D assets. Record the licence and source beside each asset. A technically successful pipeline does not remove the need for commercial rights, privacy review or platform compliance.

Verdict · the breakthrough is the review system

The striking result is not that one model made a complete game alone. It is that a human could organize specialist agents around a shared production model, then keep the work moving through evidence, reviews and approval gates.

The expensive full build proves how many disciplines a cinematic browser game touches: narrative design, voice direction, concept art, 3D modeling, rigging, rendering, performance optimization, interface design and QA. The free plugin makes the method accessible, but it does not make that complexity vanish.

Start with the mystery and player experience. If the small case is clear, fair and fun, richer voices and 3D production can amplify it. If the core loop is weak, more agents and more GPU time will only produce a more expensive weak game.

Core prompts and commands from the build

These copyable items come from Pat Simmons' video, companion article and public Game Studio repository. They are organized from setup to performance direction. Review the plugin before installation, use only authorized assets and keep paid services disabled until you approve their budgets.

Prompt pack credit: Pat Simmons · AI for Mortals · Claude Game Studio.

1. Install the Game Studio plugin

Run this in a terminal with Claude Code and Python 3.9 or newer. The repository says the default free path requires nothing else.

claude plugin marketplace add per-simmons/claude-game-studio && claude plugin install game-studio@game-studio
2. Start the Meridian-style game project

The original kickoff prompt defines the setting, player loop, voice requirement and visual ambition without prescribing the implementation.

/game-studio:new I want to build a murder mystery game that runs in the browser. You're on a 1936 sleeper train stopped overnight by a snow slide, someone's been murdered, and you have to interview six suspects before the sheriff arrives at dawn. Every suspect is voiced, so you catch liars by how they sound. Make it look cinematic, with real 3D rooms.
3. Start a smaller original case

A safer first project keeps the cast and scope small while preserving the same audited mystery workflow.

/game-studio:new Build a 20-minute browser murder mystery set in one isolated location. Use two suspects, one victim, six discoverable clues and two endings. Keep the free path: authored dialogue, 2D art prompts and placeholder voices. Require the narrative lead, three story auditors, fairness linter and auto-solver to pass before the concept gate. Stop for my approval at every milestone.
4. Design the conductor's voice

This compact Voice Design prompt describes age, accent, register, temperament and delivery.

A steady Midwestern American railroad conductor around sixty, gravelly baritone, plain-spoken, dry humour.
5. Direct an individual performance

Bracketed acting notes guide the reading without becoming spoken dialogue.

[low, steady, tired] He asked me to wake him the minute there was word on the line. [pause] I knocked. The door wasn't locked.
6. Create and test a new case pack

The public repository exposes commands for generating, linting and playing a portable mystery case.

/game-studio:case-pack new "a poisoned toast at a 1960s moon-landing party"
/game-studio:case-pack lint <pack>
/game-studio:case-pack play <pack>

Video Timestamps

FAQ

Can I play Dead Air on the Meridian?

Yes. The current browser build is available at https://dead-air-meridian.vercel.app. The creator also published a visual making-of site at https://meridian-making-of.vercel.app.

Is the Game Studio plugin free?

Yes. The public GitHub repository is MIT licensed, and its example case packs use CC BY 4.0. The default path needs Claude Code and Python 3.9+ but no external API keys. Claude access itself may still depend on your plan or usage arrangement.

Did the project really cost $4,196?

That is the creator's API-equivalent estimate for Claude usage, not the amount he says he paid directly. He used normal subscriptions. The reported additional costs are about $25 for RunPod and roughly $1.40 for Fish Audio, with Fish Audio sponsoring the video and providing credits.

Do I need Blender and rented GPUs?

No. Game Studio's free path uses 2D art prompts and placeholder voices. Blender artists, GPU rendering, Fish Audio and live LLM suspects are optional pro features that must be explicitly enabled.

Why use headless Blender?

Python scripts make scene construction repeatable, parallel and testable without relying on fragile interface clicks. The tradeoff is that you still need visual review of the actual Blender result and the final browser export.

What made the mystery fair?

A writers' room created the case, a narrative lead reviewed it, three auditors attacked it and automated solvers tested whether the correct ending was reachable without being trivial. The human publisher still reviewed the result at milestone gates.

What was the hardest part?

Realistic 3D characters took the most iterations. Face identity, rig compatibility, skin and eye shaders, hair, clothes, lip synchronization, motion retargeting and browser-renderer parity all introduced separate failure modes.

What should a beginner build first?

Start with the included offline terminal case or make a short mystery with one location and two suspects. Prove that the clues, interviews and accusation loop work before adding paid voices, 3D rooms or realistic characters.

Can the agents publish or spend money automatically?

They should not. Keep deployment, account changes, purchases and billing-limit changes behind human approval. The public plugin says paid APIs are used only when enabled in configuration, but you should still inspect the code, restrict keys and set hard provider-side limits.

--sources and credits