MZResearch notebook

FIELD NOTES / Creative Coding

OncoLife

I built a game that lets you play the same fictional case as a doctor or as a patient, with a separate workflow for each role.

Gameplay captures in the original figure document two separate runs of the same fictional case.

View original figure
Active DevelopmentEvidence B

Last reviewed 2026-11-20 · Public research / code

Two Sides of Cancer Care

Authentic gameplay compares two independent runs of a fictional lung cancer case. The doctor assesses fever after treatment and reviews recovery. The patient recognizes symptoms and seeks help. The diagrams show case modeling, event scheduling and browser saves.

View full-size figure
OncoLife figure with original Chinese gameplay captures. Doctor and patient actions for a scripted fever are compared in independent game-day-21 and game-day-23 saves. A table contrasts information, decisions and constraints. Three diagrams show the simulation mechanisms.

Research Question

How does the same fictional case look to a doctor and to a patient? The simulation lets learners compare what each knows, decides and can do.

Technical Approach

A rule-based clinical event engine schedules reports, treatment and follow-up. Doctor and patient modes reuse authored fictional cases and keep independent browser saves.

TypeScriptReactPhaserZustand

My Contribution

Developed the playable prototype, including multi-patient clinic workflows, parallel test ordering and the pixel-art hospital interface.

Evidence

  • The deployed V0.3 JavaScript and CSS matched a local build of public commit add3459.
  • Both learning-mode runs reached four treatment cycles and a follow-up endpoint with separate saves.

Outputs

  • Playable browser simulation
  • Dual-perspective portfolio figure from authentic captures

Current Status

Educational prototype with fictional cases and simplified clinical rules. Educational effects and clinical accuracy require separate evaluation.