Let me study the project structure first, then design every aspect of this game before writing a single line.
Good. Now I have the full picture. Let me design this meticulously. The case:
"THE LAST SYMPHONY" — A world-famous composer is found dead in his locked study the morning after his final concert. His magnum opus manuscript — worth millions and years in the making — is gone. Every person in the building had motive. The detective (you) has 48 hours before the city's most powerful lawyer gets the prime suspect released. This is a murder mystery, art theft, and conspiracy wrapped in one.
I'll build this from scratch — proper noir aesthetic, handcrafted UI with character, deep dialogue trees, a forensic clue system, a suspect dossier, a time management system, an evidence board, a contradiction interrogation mechanic, and a final accusation with branching verdicts.
Now the full case data — the heart of the game:
Fix the type issues — labAnalysis should allow undefined and addsNote needs to move to DialogueNode:
Now let's build all the UI components. Starting with the intro screen:
Now the evidence board and lab:
Now the verdict screen — this needs to be the most compelling piece of writing in the game:
Now the main App.tsx:
Now update index.html and build:
Clean build. Let me do a final pass to verify there are no dead imports or broken flows left in the interview component:
Good. Let me verify the interview findNode function covers all tree branches correctly:
Everything looks correct. Let me do one final build check:
Zero warnings, zero errors. The Last Symphony is complete.
Here's everything that's in this game:
The Case
"The Last Symphony" — World-famous composer Aldric Voss is found dead in his locked study. His magnum opus manuscript — eleven years of work — is gone. You have 48 hours before the case goes cold.
The killer is Dorian Ashcroft, his 29-year-old protege, who co-composed the symphony and poisoned Voss with aconitine dissolved in a reserve wine he personally delivered — because Voss revoked credit three weeks before the premiere and Ashcroft had already brokered a secret sale to a Berlin manuscript dealer.
What's Built
20 unique clues across 8 locations — each with hand-written examine text and a second layer of forensic lab analysis (poison vial traced to a Munich pharmacy under Ashcroft's name, DNA in the glove, handwriting on the manuscript page, the coded musical score that cracks open the Berlin deal).
5 suspects with fully written dialogue trees: Eleanor Voss (the widow who knew about the will change but hired a solicitor, not a hitman), Dorian Ashcroft (the killer — cracks under a 6-stage interrogation if you bring the right evidence), Vera Scholl (the rival with airtight alibi and a different kind of motive), Hans Krell (the estate manager who handed over the poison without knowing what it was), and Mira Solano (the housekeeper who sees everything and lies about nothing).
Contradiction system — marked dialogue options that require you to have found the relevant physical evidence before you can challenge a suspect's statement. Cornered suspects are stamped in their dossier.
48-hour time management — every location visit, interview exchange, and lab analysis costs real in-game time. The deadline is visible at all times.
Forensic lab — send evidence for analysis, which costs 2 hours and reveals a second, deeper layer of information (poison compound matches, DNA, ink dating, pharmacy batch numbers).
Evidence Board — cross-referenced view of all clues, suspects, interview notes, and contradictions. Organizes everything you've found.
Final accusation — requires selecting a suspect and at least 3 pieces of supporting evidence. A wrong accusation fails the case. The verdict screen delivers different closure text depending on whether you got it right, named the wrong person, or ran out of time — and on a wrong verdict, tells you exactly what you missed and why.
Files built: src/index.css, src/types/detective.ts, src/data/case.ts, src/components/Intro.tsx, src/components/HUD.tsx, src/components/Hub.tsx, src/components/LocationView.tsx, src/components/InterviewView.tsx, src/components/EvidenceBoard.tsx, src/components/LabView.tsx, src/components/AccusationView.tsx, src/components/VerdictView.tsx, src/App.tsx, index.html