AI x SFC Player

Posts · · 繁體中文 · 简体中文 · 日本語

BIRTH LOT: an AI-made SFC game where you live one life drawn from the UN's real numbers

This time the subject is a life simulation. Press A: a marker hops across the world map and stops where you are born. The draw uses each country’s real number of births: about 132 million babies are born each year, 23 million of them in India, 7.5 million in Nigeria and 130,000 in Taiwan, so your chance of being born in Taiwan is about one in a thousand.

Then the life moves on a year at a time. Whether you die in a given year depends on the real probability of death at that age, for your sex, in the country you were born in. School, work, marriage, children, moving to the city, going abroad, war and illness also follow local statistics, and some ask you to choose. When the life is over, if you had children, you can go on as your child, born where you last lived. Up to three generations; at the end the map shows your family’s path.

The game is called BIRTH LOT (出生籤), a 512 KB SFC cartridge. From the request to the finished game, the AI worked for about 50 minutes, about US$12 at API prices.

A life born in Japan, fast-forwarded, sound on: the draw, birth, school, university, work, marriage, a child, illness, retirement, and the comparison after dying at 89. Picture and sound straight from the player's emulator. (The game's text is in Traditional Chinese.)

How it plays

Birth screen
Birth: the country, city or countryside, your sex, and the local births, under-5 mortality, life expectancy and money per person per day.
The life record
A year at a time (hold A to fast-forward). Choices are answered with A or B.
Death screen
The end: how many people born the same year in the same place outlived you; local and world life expectancy.
The family's path
The family's path: where each generation was born and how long they lived.

A life takes one to three minutes; three generations five to ten. The choices:

Where the numbers come from

What matters most here is that the numbers are real. The AI first settled a source for each, then wrote programs to download the data and turn it into tables on the cartridge. It did not write a single number itself:

NumbersSourceUsed for
Births, sex ratio at birth, life expectancy by sex, under-5 mortality, fertility, net migrationUN World Population Prospects 2024, year 2023The birthplace and sex, children, whether a child grows up, where people move
The probability of dying at each age (0-100, by sex)UN WPP 2024 complete life tablesLife and death, every year
Primary and lower-secondary completion, tertiary enrolment, GDP per person, income by fifths, urban share, maternal mortalityWorld Bank WDISchool, the family’s money, city or countryside, the risk of giving birth
Battle deaths (mean of 2019-2023)World Bank WDI (from UCDP)Fighting reaching home
World map, country positionsNatural Earth (public domain)The map (darker = higher birth rate)
Country namesUnicode CLDR, Traditional ChineseNames on screen

237 countries and territories in all. The complete life tables are the heart of the game: rather than estimating from life expectancy, it uses the UN’s own figure for “the chance that a person of this age and sex in this country dies within a year”. 237 countries × 2 sexes × 101 ages take about 140 KB on the cartridge.

Gaps: the World Bank has no data for Taiwan, and some small countries miss values. The AI filled them with the mean of the 5 countries closest in life expectancy and under-5 mortality, and marked them in the data file. So Taiwan’s schooling, income and urban share are estimates, while its births, death rates and life expectancy are the UN’s.

Which rules are the game’s own

Statistics only give averages. To let the player choose, the game needs rules, and those rules are not statistics. The AI wrote all of them down in the case notes so they can be checked, for example:

These factors are game design, not research findings. In the real world income, education and lifespan are linked, but how strongly varies from place to place.

How we checked the game gets it right

The numbers being right is not enough; the program has to use them right. The AI wrote a checking tool that plays 300 lives in the emulator (random choices) and compares them with the data:

In the gameIn the data
Born in India17.3%17.6%
Born in China6.3%6.7%
Born in Nigeria7.0%5.7%
Died before 53.0%3.7%
Mean age at death70.1 yearslife expectancy weighted by births: 70.3 years

With 300 lives the sampling error is about ±1-2 percentage points for the shares and ±1.2 years for the mean age, and every difference is within it. The comparison is with life expectancy weighted by births, 70.3 years, not the world’s 73: more babies are born where lives are shorter, so a newborn can expect fewer years than the average of the world’s population.

On the SFC

What it cost

AI working timeabout 50 minutes
ModelClaude Opus 5.5, the main session plus 2 sub-agents, about 130 replies
AI output tokensabout 170,000
Tokens processedabout 30 million (mostly cache reads)
Estimated costabout US$12 (at Anthropic API prices, November 2026; subscriptions are billed differently)
Anything elsenothing: the data, map and font are public or openly licensed

For teachers

To make your own game with AI, run npx https://aixsfc.app/skill/aixsfc.tgz in an empty folder and start claude; see the home page.

Sources and licences