gameofflife

Every country's Game of Life

We turned the population figures of 215 countries and territories into Game of Life rules. Pick a flag to watch its rule run and read exactly how its numbers became that rule.

The world as a whole

The world's own figures (fertility 2.19 births per woman, life expectancy 73.5 years, 57.8% living in cities, 2024) give B36/S23 (HighLife). That is one step away from Conway's B3/S23: the world's fertility is just above the replacement level of 2.1, which adds a birth with 6 neighbours.

How a country becomes a rule

A Game of Life rule says two things: how many live neighbours make a dead cell come alive (B, for born), and how many let a live cell stay alive (S, for survives). Conway's rule is B3/S23. We take three figures for each country and let each one decide one part of the rule.

  1. Births from the fertility rate. More children per woman means more neighbour counts that cause a birth.
  2. The fewest neighbours from life expectancy. Longer lives mean cells survive with fewer neighbours before dying of loneliness.
  3. The most neighbours from city living. More people in cities means cells survive in more crowded spots before dying of overcrowding.

We use fertility and life expectancy instead of crude birth and death rates because they don't depend on how old a country's population is. An ageing country can have a high death rate even when people live long lives.

Fertility rate (births per woman) to births
Fertility rateBirthsWhy
below 2.1B3Below replacement level. Births happen only in Conway's one case: exactly 3 live neighbours.
2.1 to under 3B36At or above replacement. A cell is also born with 6 neighbours, the extra birth that HighLife uses.
3 to under 4B368Also born with 6 or 8 neighbours.
4 to under 5B34Also born with 4 neighbours. Four is a very common count, so births jump.
5 or moreB346Born with 3, 4 or 6 neighbours: the most births of any band.
Life expectancy to the fewest neighbours a cell survives with
Life expectancySurvives withWhy
80 years or moreat least 1A cell survives with as few as 1 neighbour.
60 to under 80at least 2A cell needs 2 neighbours, as in Conway's rule.
under 60at least 3A cell needs 3 neighbours to survive.
Urban population to the most neighbours a cell survives with
Urban populationSurvives withWhy
90% or moreup to 5A cell survives with up to 5 neighbours.
75% to under 90%up to 4A cell survives with up to 4 neighbours.
under 75%up to 3A cell survives with up to 3 neighbours, as in Conway's rule.

One adjustment. Survival always covers at least two neighbour counts. If life expectancy is under 60 (fewest = 3) and city living is under 75% (most = 3), the most is raised to 4. We tested every rule shape on random boards first: with a single survival count every board died out within a few generations, and allowing 6 or more neighbours froze the board solid, so the bands stay between those limits.

Starting board. Every country starts from the same frame: a one-cell outline in the middle of the board, covering 60% of its width and height. With an identical start, the only thing that differs between countries is the rule.

Random boards. In the game, pressing Random fills the board at a share that comes from population density: 15% plus 9% for every tenfold increase in people per km², kept between 15% and 50%. The world (62 people per km²) gets 31%.

What happens. For each country we ran its rule from the frame on a board of 120 × 90 cells with wrap-around edges for up to 1,000 generations, and report whether the board died out, settled into a repeating state, or was still changing.

What comes out

The 215 countries share 20 different rules. From the frame, 163 settle into a still or repeating state within 1,000 generations, 0 die out completely, and 52 are still changing at the end.

CountryFertilityLife exp.Urban %RuleWhat happens
Afghanistan4.7666.325.9B34/S23Keeps changing
Albania1.3479.858.9B3/S23Settles by gen 553
Algeria2.7276.575.8B36/S234Keeps changing
American Samoa2.2773.080.5B36/S234Keeps changing
Andorra1.0984.288.9B3/S1234Settles by gen 100
Angola5.0564.871.5B346/S23Keeps changing
Antigua and Barbuda1.5877.824.3B3/S23Settles by gen 553
Argentina1.5077.592.4B3/S2345Settles by gen 118
Armenia1.7078.365.9B3/S23Settles by gen 553
Aruba1.6176.561.7B3/S23Settles by gen 553
Australia1.4883.187.7B3/S1234Settles by gen 100
Austria1.3182.069.7B3/S123Keeps changing
Azerbaijan1.4374.658.6B3/S23Settles by gen 553
Bahrain1.8081.4100.0B3/S12345Settles by gen 93
Bangladesh2.1474.933.2B36/S23Settles by gen 993
Barbados1.7176.359.7B3/S23Settles by gen 553
Belarus1.2274.479.5B3/S234Settles by gen 182
Belgium1.4482.387.7B3/S1234Settles by gen 100
Belize2.0273.741.6B3/S23Settles by gen 553
Benin4.4861.053.4B34/S23Keeps changing
Bermuda1.4182.5100.0B3/S12345Settles by gen 93
Bhutan1.4573.343.4B3/S23Settles by gen 553
Bolivia2.5268.771.6B36/S23Settles by gen 993
Bosnia and Herzegovina1.4978.052.7B3/S23Settles by gen 553
Botswana2.7069.368.0B36/S23Settles by gen 993
Brazil1.6176.088.2B3/S234Settles by gen 182
British Virgin Islands1.0577.457.4B3/S23Settles by gen 553
Brunei1.7375.575.0B3/S234Settles by gen 182
Bulgaria1.7275.874.2B3/S23Settles by gen 553
Burkina Faso4.1161.328.9B34/S23Keeps changing
Burundi4.7963.825.7B34/S23Keeps changing
Cabo Verde1.5176.277.6B3/S234Settles by gen 182
Cambodia2.5570.841.1B36/S23Settles by gen 993
Cameroon4.2664.055.7B34/S23Keeps changing
Canada1.2582.182.9B3/S1234Settles by gen 100
Cayman Islands1.5280.5100.0B3/S12345Settles by gen 93
Central African Republic5.9557.744.6B346/S34Keeps changing
Chad6.0355.227.6B346/S34Keeps changing
Chile1.1481.489.2B3/S1234Settles by gen 100
China1.0178.066.3B3/S23Settles by gen 553
Colombia1.6377.978.8B3/S234Settles by gen 182
Comoros3.8267.033.9B368/S23Settles by gen 156
Costa Rica1.3281.079.7B3/S1234Settles by gen 100
Côte d'Ivoire4.2362.154.5B34/S23Keeps changing
Croatia1.4678.957.8B3/S23Settles by gen 553
Cuba1.4578.377.2B3/S234Settles by gen 182
Curaçao1.4077.091.5B3/S2345Settles by gen 118
Cyprus1.3881.866.7B3/S123Keeps changing
Czechia1.3680.072.9B3/S23Settles by gen 553
Denmark1.4782.388.8B3/S1234Settles by gen 100
Djibouti2.6266.273.0B36/S23Settles by gen 993
Dominica1.4871.374.0B3/S23Settles by gen 553
Dominican Republic2.2273.972.5B36/S23Settles by gen 993
DR Congo5.9862.145.1B346/S23Keeps changing
Ecuador1.8177.663.4B3/S23Settles by gen 553
Egypt2.7371.842.9B36/S23Settles by gen 993
El Salvador1.7772.375.5B3/S234Settles by gen 182
Equatorial Guinea4.1263.971.6B34/S23Keeps changing
Eritrea3.6868.934.5B368/S23Settles by gen 156
Estonia1.1879.370.7B3/S23Settles by gen 553
Eswatini2.7264.326.7B36/S23Settles by gen 993
Ethiopia3.9167.624.1B368/S23Settles by gen 156
Faroe Islands1.9183.139.6B3/S123Keeps changing
Fiji2.2767.559.5B36/S23Settles by gen 993
Finland1.2582.374.5B3/S123Keeps changing
France1.6183.078.8B3/S1234Settles by gen 100
French Polynesia1.4984.261.8B3/S123Keeps changing
Gabon3.5968.592.1B368/S2345Keeps changing
Georgia1.8074.761.2B3/S23Settles by gen 553
Germany1.3680.882.1B3/S1234Settles by gen 100
Ghana3.3465.758.9B368/S23Settles by gen 156
Gibraltar1.8983.6100.0B3/S12345Settles by gen 93
Greece1.2481.879.2B3/S1234Settles by gen 100
Greenland1.7170.388.6B3/S234Settles by gen 182
Grenada1.4775.436.7B3/S23Settles by gen 553
Guam2.7577.494.2B36/S2345Keeps changing
Guatemala2.2972.756.3B36/S23Settles by gen 993
Guinea4.1360.938.5B34/S23Keeps changing
Guinea-Bissau3.7664.346.7B368/S23Settles by gen 156
Guyana2.4070.326.5B36/S23Settles by gen 993
Haiti2.6365.155.6B36/S23Settles by gen 993
Honduras2.4873.059.3B36/S23Settles by gen 993
Hong Kong0.8485.4100.0B3/S12345Settles by gen 93
Hungary1.4176.770.7B3/S23Settles by gen 553
Iceland1.5682.894.2B3/S12345Settles by gen 93
India1.9672.235.7B3/S23Settles by gen 553
Indonesia2.1271.359.4B36/S23Settles by gen 993
Iran1.6877.977.4B3/S234Settles by gen 182
Iraq3.2272.469.9B368/S23Settles by gen 156
Ireland1.4783.064.6B3/S123Keeps changing
Isle of Man1.5481.152.1B3/S123Keeps changing
Italy1.1884.069.7B3/S123Keeps changing
Jamaica1.3571.659.4B3/S23Settles by gen 553
Japan1.1584.092.3B3/S12345Settles by gen 93
Jordan2.6078.093.2B36/S2345Keeps changing
Kazakhstan2.9874.562.4B36/S23Settles by gen 993
Kenya3.1763.832.2B368/S23Settles by gen 156
Kiribati3.1266.663.4B368/S23Settles by gen 156
Kosovo1.5478.250.9B3/S23Settles by gen 553
Kuwait1.5684.6100.0B3/S12345Settles by gen 93
Kyrgyzstan2.6072.434.7B36/S23Settles by gen 993
Laos2.4069.240.3B36/S23Settles by gen 993
Latvia1.2476.468.6B3/S23Settles by gen 553
Lebanon2.2377.991.0B36/S2345Keeps changing
Lesotho2.6657.844.7B36/S34Settles by gen 63
Liberia3.8662.356.1B368/S23Settles by gen 156
Libya2.3071.187.9B36/S234Keeps changing
Liechtenstein1.3784.214.6B3/S123Keeps changing
Lithuania1.1177.269.1B3/S23Settles by gen 553
Luxembourg1.2583.294.9B3/S12345Settles by gen 93
Macao0.5883.3100.0B3/S12345Settles by gen 93
Madagascar3.9163.832.9B368/S23Settles by gen 156
Malawi3.5967.617.6B368/S23Settles by gen 156
Malaysia1.5476.877.4B3/S234Settles by gen 182
Maldives1.5681.342.5B3/S123Keeps changing
Mali5.5160.732.2B346/S23Keeps changing
Malta1.0183.095.7B3/S12345Settles by gen 93
Marshall Islands2.8667.179.1B36/S234Keeps changing
Mauritania4.6368.761.5B34/S23Keeps changing
Mauritius1.4473.839.0B3/S23Settles by gen 553
Mexico1.8975.380.0B3/S234Settles by gen 182
Micronesia2.7467.422.5B36/S23Settles by gen 993
Moldova1.7371.343.7B3/S23Settles by gen 553
Monaco2.1086.5100.0B36/S12345Keeps changing
Mongolia2.5072.471.1B36/S23Settles by gen 993
Montenegro1.8077.965.6B3/S23Settles by gen 553
Morocco2.2175.563.1B36/S23Settles by gen 993
Mozambique4.6963.837.2B34/S23Keeps changing
Myanmar2.1067.130.6B3/S23Settles by gen 553
Namibia3.2167.550.9B368/S23Settles by gen 156
Nauru3.2962.3100.0B368/S2345Keeps changing
Nepal1.9670.667.0B3/S23Settles by gen 553
Netherlands1.4382.095.9B3/S12345Settles by gen 93
New Caledonia1.9678.968.2B3/S23Settles by gen 553
New Zealand1.5782.084.0B3/S1234Settles by gen 100
Nicaragua2.2175.159.4B36/S23Settles by gen 993
Niger5.9361.418.4B346/S23Keeps changing
Nigeria4.3854.663.8B34/S34Keeps changing
North Korea1.7873.764.2B3/S23Settles by gen 553
North Macedonia1.4076.662.9B3/S23Settles by gen 553
Northern Mariana Islands2.3278.992.2B36/S2345Keeps changing
Norway1.4583.283.6B3/S1234Settles by gen 100
Oman2.5180.279.5B36/S1234Keeps changing
Pakistan3.5567.839.5B368/S23Settles by gen 156
Palau1.8869.479.3B3/S234Settles by gen 182
Palestine3.2569.287.4B368/S234Keeps changing
Panama2.1179.866.2B36/S23Settles by gen 993
Papua New Guinea3.0766.315.8B368/S23Settles by gen 156
Paraguay2.4274.070.4B36/S23Settles by gen 993
Peru1.9777.985.6B3/S234Settles by gen 182
Philippines1.8969.955.8B3/S23Settles by gen 553
Poland1.1478.460.1B3/S23Settles by gen 553
Portugal1.4182.461.5B3/S123Keeps changing
Puerto Rico0.9281.994.3B3/S12345Settles by gen 93
Qatar1.7282.599.4B3/S12345Settles by gen 93
Republic of the Congo4.1166.064.1B34/S23Keeps changing
Romania1.3976.552.2B3/S23Settles by gen 553
Russia1.4273.475.3B3/S234Settles by gen 182
Rwanda3.6568.030.9B368/S23Settles by gen 156
Saint Kitts and Nevis1.5372.331.9B3/S23Settles by gen 553
Saint Lucia1.3972.829.1B3/S23Settles by gen 553
Saint Martin2.6780.4100.0B36/S12345Keeps changing
Saint Vincent and the Grenadines1.7671.448.0B3/S23Settles by gen 553
Samoa3.8071.817.5B368/S23Settles by gen 156
San Marino1.1685.897.2B3/S12345Settles by gen 93
São Tomé and Príncipe3.6069.969.2B368/S23Settles by gen 156
Saudi Arabia2.3179.084.6B36/S234Keeps changing
Senegal3.7768.955.8B368/S23Settles by gen 156
Serbia1.6476.062.6B3/S23Settles by gen 553
Seychelles1.8576.345.5B3/S23Settles by gen 553
Sierra Leone3.7062.045.9B368/S23Settles by gen 156
Singapore0.9783.3100.0B3/S12345Settles by gen 93
Sint Maarten1.4476.5100.0B3/S2345Settles by gen 118
Slovakia1.4678.453.2B3/S23Settles by gen 553
Slovenia1.5282.356.0B3/S123Keeps changing
Solomon Islands3.5170.731.3B368/S23Settles by gen 156
Somalia6.0159.055.1B346/S34Keeps changing
South Africa2.2166.363.8B36/S23Settles by gen 993
South Korea0.7583.681.2B3/S1234Settles by gen 100
South Sudan3.7957.721.7B368/S34Settles by gen 50
Spain1.1083.980.5B3/S1234Settles by gen 100
Sri Lanka1.9577.720.5B3/S23Settles by gen 553
Sudan4.2666.534.9B34/S23Keeps changing
Suriname2.2373.865.8B36/S23Settles by gen 993
Sweden1.4384.189.1B3/S1234Settles by gen 100
Switzerland1.2984.485.7B3/S1234Settles by gen 100
Syria2.7072.672.1B36/S23Settles by gen 993
Tajikistan3.0471.926.2B368/S23Settles by gen 156
Tanzania4.5467.236.9B34/S23Keeps changing
Thailand1.2076.662.8B3/S23Settles by gen 553
The Bahamas1.3774.781.3B3/S234Settles by gen 182
The Gambia3.9166.165.0B368/S23Settles by gen 156
Timor-Leste2.6367.928.8B36/S23Settles by gen 993
Togo4.1262.944.4B34/S23Keeps changing
Tonga3.1073.121.2B368/S23Settles by gen 156
Trinidad and Tobago1.5473.654.0B3/S23Settles by gen 553
Tunisia1.8276.770.7B3/S23Settles by gen 553
Türkiye1.4877.489.5B3/S234Settles by gen 182
Turkmenistan2.6670.247.1B36/S23Settles by gen 993
Turks and Caicos Islands1.4578.294.4B3/S2345Settles by gen 118
Tuvalu3.1767.365.4B368/S23Settles by gen 156
Uganda4.1768.531.9B34/S23Keeps changing
Ukraine0.9974.769.6B3/S23Settles by gen 553
United Arab Emirates1.2183.186.0B3/S1234Settles by gen 100
United Kingdom1.5581.483.3B3/S1234Settles by gen 100
United States1.6378.980.2B3/S234Settles by gen 182
Uruguay1.4078.395.7B3/S2345Settles by gen 118
US Virgin Islands1.9780.895.4B3/S12345Settles by gen 93
Uzbekistan3.4972.551.0B368/S23Settles by gen 156
Vanuatu3.5771.722.3B368/S23Settles by gen 156
Venezuela2.0872.789.3B3/S234Settles by gen 182
Vietnam1.9074.738.8B3/S23Settles by gen 553
Yemen4.5069.437.0B34/S23Keeps changing
Zambia4.0466.545.9B34/S23Keeps changing
Zimbabwe3.6763.140.5B368/S23Settles by gen 156

What this is, and what it isn't

This is a way of looking at real numbers through the Game of Life, not a model that predicts anything about a country. The bands are our choice, set so the world as a whole lands next to Conway's rule, and they are the same for every country. Each figure is the latest year the World Bank has for that country, so a few countries use slightly older numbers.

Data: World Bank, World Development Indicators, licensed CC BY 4.0, retrieved 3 December 2026. Flags from flag-icons (MIT). Not included because a figure or flag was missing: Channel Islands.