# Designing an Educational Epidemic Game: Hong Kong, Real Data and Published Parameters

> How we built Outbreak Response: Hong Kong — a map game for medical and public health students. 2021 Census districts and commuting, a stochastic metapopulation SEIR model calibrated to published SARS, COVID-19 and Omicron parameters, evidence-linked measures, surveillance that lags reality, scoring against a no-action counterfactual, generated music, and tests.

- URL: https://gigantic.work/tutorials/designing-an-epidemic-simulation-game/
- Published: 2026-11-22
- Updated: 2026-11-23
- Author: Gigantic Work (Engineering team)
- Topics: Serious Games, Epidemiology, Public Health, SEIR Model, Hong Kong, Medical Education, Web Audio
- Language: English

Exponential growth, the gap between infection and hospital admission, why isolation worked against SARS but not against COVID-19, why Hong Kong's 2022 Omicron wave was deadliest among the unvaccinated old — these are easy to state and hard to feel. A strategy game lets students make the decisions and watch the consequences unfold on a map they know.

## Play it

Choose SARS (2003), COVID-19 (2020) or Omicron (2022). Time runs day by day; pause with the space bar. Deploy measures territory-wide, or tap a district for a local lockdown or mass testing. At the end, the debrief compares your outcome with the same outbreak if nobody had acted. Turn on sound for the music and effects, and use **Full screen** on a phone.

_(Interactive demo: try it on the web page, https://gigantic.work/tutorials/designing-an-epidemic-simulation-game/)_

## 1. Start from what students should be able to explain

- Why the share of transmission before symptoms decides whether isolation and tracing can control an outbreak.
- Why reported cases lag and under-count true infections.
- How measures combine, why they lose effect as trust and adherence fade, and what they cost.
- Why protecting the most vulnerable (vaccination of older people, hospital capacity) can matter more than stopping every infection.

Every mechanic serves one of these. Anything that does not is decoration.

## 2. Use real places and real people

Students engage more with a map they recognise. The map is built from the **2021 Population Census**: the 452 constituency-area boundaries give the coastline and where people actually live, and the district tables give population, age structure and — crucially — how many residents work or study in another district. Those commuting shares connect the districts in the model, so an outbreak in a dense urban district reaches the business districts first and the outlying new towns later.

Everything is open government data, and a script rebuilds the map from source so the data can be refreshed or audited.

## 3. Choose a model students can see through

The engine is a **metapopulation SEIR model**: 18 districts, three age groups (0–14, 15–64, 65+), and compartments for exposed, presymptomatic, symptomatic, asymptomatic and hospitalised people. Each day runs as small random (binomial) steps, so a handful of early cases can fizzle out or take off — just as in real outbreaks. β is calibrated from each disease's R0 using the next-generation matrix, and an automated test checks that Rt on day one matches it.

| Parameter | Where it comes from |
| --- | --- |
| SARS: R0 2.7, incubation 6.4 days, case fatality 13.2% under 60 and 43.3% over | Riley et al., *Science* 2003; Donnelly et al., *Lancet* 2003 (both on Hong Kong data) |
| COVID-19: incubation 5.1 days; 44% of transmission before symptoms; 20% asymptomatic | Lauer et al., *Ann Intern Med* 2020; He et al., *Nat Med* 2020 (with correction); Buitrago-Garcia et al., *PLOS Med* 2020 |
| COVID-19 severity by age (hospitalisation, infection fatality) | Verity et al., *Lancet Infect Dis* 2020 |
| Omicron: incubation about 3 days; 2022 Hong Kong vaccine coverage (18% of 80+) and effectiveness | Jansen et al., *MMWR* 2021; McMenamin et al., *Lancet Infect Dis* 2022 |

Values that are game assumptions — R0 for Omicron, for example, or the effect of a district lockdown — are labelled as assumptions in the game's "Model and sources" panel. That honesty matters: it turns the model itself into something students can critique.

## 4. Link every measure to evidence

Each measure card shows its effect, its daily cost, and an **i** button with the evidence and a link to the paper: limits on gatherings, closures and stay-at-home orders from Brauner et al. (*Science* 2021), masks from Leech et al. (*PNAS* 2022), border screening from Quilty et al. (*Euro Surveill* 2020).

Test, trace and isolate is modelled mechanically — isolating detected symptomatic cases and quarantining contacts — rather than as a fixed percentage. The consequence is the point of Fraser et al. (*PNAS* 2004): on day one the same programme cuts Rt by about 59% for SARS but about 51% for COVID-19, because so much COVID-19 spread happens before anyone feels ill.

Restrictions also lose effect over time: compliance falls as public trust drops and fatigue builds, consistent with the decline in adherence to costly behaviours reported by Petherick et al. (*Nat Hum Behav* 2021).

## 5. Show the fog of surveillance

Players see **reported** cases — delayed by two days and missing infections that nobody tested. A "teacher view" switch reveals the true infections on the map and in the charts. In the debrief both curves sit side by side, which makes the gap a discussion point rather than a footnote.

## 6. Score against the counterfactual

When the game ends, the model runs the same outbreak, with the same random seed, and no measures at all. Lives saved are measured against that, on a log scale (each tenfold reduction counts), with points for the economy and public trust and a penalty for days the hospitals were over capacity. Stars and badges reward specific good outcomes: hospitals never full, older people protected, a fast first response.

## 7. Balance it by simulation

We play thousands of days automatically with simple strategies before students see it:

| Strategy (deaths in the model) | SARS 2003 | COVID-19 2020 | Omicron 2022 |
| --- | --- | --- | --- |
| No measures | about 2.4 million* | about 147,000 | about 66,000 |
| Isolation, tracing, masks, hospital infection control, communication (plus gathering limits for COVID-19) — started at the first reported case | 48 | 4 | about 19,800 |
| The same, three weeks late | 112 | 31 | about 26,300 |
| Every restriction, no testing | 564 | about 82,000 | about 54,000 |
| Vaccinate older people first, masks, communication; add restrictions and surge beds when cases surge | — | — | about 9,000 |

\* A theoretical worst case in which nobody changes behaviour; real populations do.

The patterns are the teaching points. Testing and isolation dominate for SARS. COVID-19 needs layered, sustained measures — and the economy pays. Blanket restrictions without testing collapse as trust runs out. For Omicron, the best strategy is to protect older people and the hospitals, and it ends close to the 8,856 deaths Hong Kong actually recorded by mid-April 2022.

## 8. Sound that responds to the epidemic

Music and effects are generated in the browser with the Web Audio API — no audio files and no licences. The score is a slow chord loop whose tempo, filter and harmony shift with Rt and hospital load, with a soft heartbeat when hospitals fill. Short sounds mark deployments, news and alerts. Audio starts only after a tap, and the mute setting is remembered.

## 9. Build it like software that matters

- **Tests** check that the population is conserved, R0 is calibrated, a seed always gives the same run, measure effects match their sources, and an evidence-based plan beats doing nothing.
- **Data scripts** rebuild the map and population from the census.
- **Accessibility:** keyboard controls, a district table as an alternative to the map, full screen, and bilingual text.

## 10. Handle the topic with care

Many students and staff lived through SARS and COVID-19 in Hong Kong. Frame the game as a model, not a judgement of real decisions; avoid flippant language about deaths; and give teachers the context to introduce it. The super-spreading event and care-home outbreak in the scenarios are written generically.

## Evaluating it

Use a short concept test before and after (presymptomatic transmission, Rt, surveillance lag), look at decision logs if the game is launched from the LMS (LTI 1.3 with xAPI statements), and ask teachers whether the debrief discussion improved. Get ethics approval before collecting data for publication.

## Indicative effort

| Work | Typical effort |
| --- | --- |
| Learning design, parameter review with epidemiologists, data pipeline | 10–15 person-days |
| Model, tests and balancing | 10–15 person-days |
| Map, interface, audio, bilingual, mobile | 20–30 person-days |
| LMS launch, gradebook and xAPI logging, teacher dashboard | 8–15 person-days |

Planning a serious game for your programme? [Tell us the learning outcome](https://gigantic.work/contact/?topic=mobile) and we'll sketch the model, the data and a budget — or start with the [Grant IT Budget Planner](https://gigantic.work/grants/#planner).

---

Published by Gigantic Work, an IT vendor with a team in London and Hong Kong, building AI, learning platforms, web platforms, research portals, cloud and 3D/VR projects for universities, grant-funded projects, NGOs, schools and SMEs. Contact: info@gigantic.work · https://gigantic.work/contact/ · Site overview: https://gigantic.work/llms.txt
