A medical examiner game where the forensic science is real. Examine a body, learn what each finding means at the moment you need it, and sign the death certificate: cause, manner, and a time-of-death window that scores best when it is both right and tight.
Status: early development, playable. Three cases (a natural death, an accident and a homicide whose timeline doesn't match the story), each with a 3D exam room, plus an endless time-of-death drill.
![]() |
![]() |
![]() |
![]() |
| Examine the body in 3D | Interpret and link findings | Fill in the certificate | Sign and see the truth |
- Procedures: spend shift hours and lab budget on the scene investigation, external exam, autopsy and toxicology. Some need others first, and some cases have tests you don't need.
- Examine: the external exam opens a 3D exam room (Strata, in the browser). Tap a region of the body to examine it, and turn the body over to check the back. Where 3D can't run, the same regions are buttons.
- Interpret: turning a finding into evidence needs a skill. If you don't have it yet, a one-question lesson opens right there. Your skill level sets how precise timing evidence is.
- Link: tap Time, Cause or Manner on an interpreted finding to use it as evidence on the certificate. Every line needs support before you can sign.
- Sign and debrief: set the time-of-death window, choose cause and manner, sign. The debrief scores time (right and tight), cause, manner, reasoning (did your links hold?) and efficiency, shows who the person was and what happened, and turns mistakes into review cards.
On a wide screen the exam room and procedures stay on the left while the findings, certificate and debrief fill the right:
Every page opens in dark mode, with a Dark / Light / Auto switch in the corner that's remembered in the browser.
The tone is clinical and non-graphic: a stylized, faceless mannequin, injuries described in words, and a respectful line about each person.
An endless practice mode: a generated body, the early signs of death, and a window to set.
![]() |
![]() |
![]() |
![]() |
| 1. Read the body | 2. Learn what a finding means | 3. Weigh the evidence | 4. Sign and see the truth |
Each skill's colour shows how well you know it: amber for novice (a wider bar), teal for practiced, green for mastered.
Every case can also be played as text, for people, AI playtesters and scripted checks:
npm run play -- night-shift # type "help" for commands
npm run play -- night-shift < moves.txt- docs/design.md: core loop, decisions and milestones.
- Case data format, scoring and milestones: docs/design.md. Cases are JSON in
packs/forensics-core/cases/;tests/cases.test.tschecks each one is valid and that an expert can score 12/12 using only what the case shows. - Screenshots are made by
npm run shots(seetools/shots.cjs), which plays one drill with a fixed seed (?seed=99) at phone and desktop sizes and fails on console errors or overflow. - Architecture: ports and adapters.
src/kernel(skills, lessons, review: reusable by other games),src/casework(the game rules),src/adapters(web UI, storage, Strata 3D). The layer rule is enforced bytests/layers.test.ts.
Requires Node 22.18 or newer (runs TypeScript tests directly).
npm install
npm test # unit tests, including the layer rule
npm run typecheck
npm run build # compiles src/ to dist/ for the browserTo play locally, build and then serve the repo root with any static server, for example
python3 -m http.server 8770, and open http://localhost:8770/.
The 3D exam room spike is spike/exam-room.html (serve the repo root after npm run build). Its
engine in engine/ is Tangle's prebuilt Strata
host (MIT), reused unchanged.
Lessons cite published sources, and teaching approximations (such as the 1.5 °F per hour cooling rule) are labelled as approximations. Casework teaches the reasoning; it is not a reference for real casework. Corrections are welcome as issues.
Code: MIT. Lessons, cases and other content in packs/: CC BY-SA 4.0.








