How a browser god game simulates 45 eras of language and religion with no server and no LLM

I have been looking for a WorldBox-style civilization sim I could open in a tab: no installer, no account, and a world that actually keeps going when I walk away from it. I ended up writing one.
The Human Box is a free god/civ sandbox. You drop a handful of Stone Age people on an 800×400 map, or you just hit play and let the seed start them. They forage, pair up, form tribes, fight, build towns, and — if the run lasts — climb a 45-era ladder that goes from pre-stone through bronze and industry into some frankly speculative late-game names. While that happens they invent words for things, and eventually someone founds a faith called something like "River Way" or "Iron Truth."
The whole simulation is Rust compiled to WebAssembly. It ticks in your browser. There is nothing to sign up for, and the page does not call a hosted simulation API. Every thought, conversation and chronicle line is written by the sim itself. The code is MIT on GitHub: 1homsi/thehumanbox.
I have already written about how the vocabularies work (the concept slots, the 3% birth mutations, the way a signal lands weaker when two tribes do not share a word) and about how a tick stays deterministic when SIMD or threads turn on. This piece is for a different question, the one I get from people who just wanted a god game in the browser: how does a 45-era world, with languages and religions, actually run in a tab — and why is none of that an AI model?
What you are actually opening
The hosted world is deliberately small. The default population cap, DEFAULT_MAX_POPULATION, is 350. The engine's hard cap is 5,000, which the desktop build can opt into. So this is not a 10,000-person "planet" demo, and I will not pretend it is. It is a civ sim that has to stay cheap at a few hundred people, and stay honest if someone later opens a larger world.
The map is 800×400 tiles and ten biomes: grassland, forest, jungle, savanna, wetland, desert, badlands, taiga, tundra, volcanic, plus elevation, rivers, weather and four seasons. You can watch, or you can play god from a dock of about 160 tools: drop people and animals, raise land, call weather and disasters, give a tribe food, force a migration, answer a prayer. Time goes from paused to 5000× through one control.
Your world saves in the browser (or on disk in the desktop app). You can export it. Closing the tab does not need a cloud slot.
45 eras, and what actually moves the needle
The era list is a fixed ladder of 45 values in crates/sim-core/src/sim/civ/progress/eras/mod.rs. It starts somewhere ordinary and then keeps going:
PreStone, Stone, Bronze, Iron, Classical, Medieval, Renaissance, Industrial, Modern, Information, Atomic, Space, Digital, Quantum, Solar, Fusion, Genetic, Orbital, Lunar, Martian, Cyber, Neural, Posthuman, Interstellar, Singularity, Galactic, Dyson, Kardashev2, Kardashev3 — and then sixteen speculative endgame eras, from Stellar through Omega to Rebirth.
A lineage does not "unlock the Bronze Age" because a timer went off. determine_era_for_lineage asks two questions: does this tribe have the required discoveries, and is the living world's population high enough for that era's gate?
Stone is fire, stone_tools and shelter. Bronze is smelting, agriculture and pottery, and it wants at least three living people. Knowledge stays lineage-specific. The population gate is world-wide: it represents the number of people around to sustain more complicated technology, not a per-tribe headcount.
The original gates were balanced around the hosted 350-person ceiling. Early eras keep those thresholds. Late-era gates are rescaled to the world's chosen population limit so the full ladder stays reachable, and they are monotonic — a later era never demands fewer people than an earlier one. A living world also never sits exactly at its cap, because pending births count against it, so the final era is gated on 85% of the limit, not 100%. In a default 350-person hosted world, that means Posthuman is still in reach; the stranger names after that are a long climb, not a cutscene.
I want to be clear about what this is not. Most runs you open in a tab will spend a long time in the early eras, because discoveries have to be made by actual people, and people die. The late ladder is there so a long world has somewhere to go. It is not a promise that every seed reaches Dyson in an afternoon.
Languages, without a language model
This is the short version. The long version is the earlier language article.
There is no LLM, no Markov chat model, and no cloud call that invents a word. Each person carries a Vocabulary: one slot per concept in a fixed list of 417 meanings (food, water, fire, mother, law, and so on). A word is one or two consonant-vowel syllables from a tiny alphabet, so you get shapes like "ka" or "mito." The space is 7,310 possible forms.
Founders get a freshly generated vocabulary. Children inherit their mother's words, and each known word mutates with a 3% chance at birth — one letter, vowel stays a vowel, consonant stays a consonant. When people are close enough to signal, sing, teach or gift knowledge, a listener can adopt one differing word, with a small probability. Inside a group, people also converge toward the majority form.
The tribe language you see in the UI is not a separate object. It is an aggregate: the most common known word per concept among the living members of that lineage. Two tribes that started with different founders, or that split and then spent a few generations apart, will drift. If they meet again and do not share a word for "food" or "danger," the signal still goes out, it just lands weaker.
That is the whole trick. A handful of rates and a fixed concept list, ticked on a seeded RNG, so the same world says the same words on every machine.
Religions, also from rules
Religions are a second, smaller rule set, in crates/sim-core/src/sim/civ/civ_tick/religion.rs and crates/sim-core/src/sim/actions/religion_expanded/.
A faith has a kind, a name, a founder lineage, a founded tick and an adherent count. The kinds unlock by era:
- Animism, from PreStone
- Polytheism, from Bronze
- Monotheism, from Iron
- Philosophical, from Classical
- Secular, from Industrial
A lineage with at least five living people can found a religion of a kind it has unlocked, if it does not already have two, and if it has been at least 4,000 ticks since the last one. The chance per candidate kind is 8%. An elder can also take the "found an organised religion" action once the preconditions are met, and nearby kin who do not already belong will follow.
The name is not generated by a model either. There is a list of sixteen — "Sun Path," "Sky Mother," "Hearth Faith," "Stone Pact," "River Way," "Forest Whisper," "Eternal Flame," "Old Song," "First Word," "Long Road," "Bright Star," "Deep Water," "Iron Truth," "Wind Order," "Bone Wisdom," "Moon Vow" — and pick_religion_name is just seed % 16. If that name is already taken, the id is appended. It is a small palette on purpose. You can recognise a faith when you see it again, and a replay of the same seed founds the same ones.
Once a faith exists, unaffiliated people can convert. The base chance is half a percent per tick, nudged by their social tendency, and biased toward their own lineage's faith or, failing that, toward whichever religion already has the most followers. A faith with at least twelve living followers can schism: a 5% chance on that pass, and if at least three people leave, they become a new sect with a new name from the same list. Followers near their temple feel it. You can read all of this in the civ panel and in the chronicles, next to the wars and the harvests, rather than in a hidden lore dump.
None of this is trying to be a serious model of historical religion. It is a toy that still has consequences: a schism is a headline, a conversion changes who stands in the temple, and a prayer can reach you, the player, if you are in the mood to answer it.
Why the tab is enough
The browser build compiles sim-core to WebAssembly and ticks it in a Web Worker. The map is drawn on the main thread with xipjs in WebGL2. The important architectural fact, for this piece, is that the world does not live on a server.
The site starts a private WASM world, persists it locally, and never contacts a hosted simulation API. That sentence is from the repo's own README, not a slogan I added later. There is a desktop app, and that app can talk to a local engine over a WebSocket, but the thing you open at thehumanbox.com is the client-side path: one tab, one worker, one save in the browser.
Thoughts and chronicle lines are produced from the organism's own state — needs, memories, relationships, the words it actually knows. Because the tick is seeded and the "interesting" passes either avoid the world RNG or write back in index order, a replay of the same seed is the same world, including the same sentences, offline, on another machine. I wrote about the SIMD and thread side of that promise in the previous article. The design constraint is the same here: if a language model were inventing the dialogue, two browsers would not agree, and you could not export a world and get the same story back.
What I am not claiming
I am not claiming this replaces WorldBox, RimWorld, Dwarf Fortress or Songs of Syx. Those games are larger, older, and in some cases much deeper in a particular direction. The Human Box is a free, open-source, in-browser civ sandbox with a stubborn rule: the culture has to come from the sim.
I am not claiming the hosted world runs 5,000 people at 60 frames a second. The default cap is 350. The desktop build is the place to push the limit.
I am not claiming the 45-era ladder is a history textbook. The early names are familiar because they have to be. The late ones exist so a long run does not fall off the end of the list.
I use AI-assisted coding tools on this project. They helped with parts of the code, and an AI assistant helped draft this write-up. They do not invent the tribes' words or their gods. That distinction matters to me, and it should be written down.
If you want to play it, it is at thehumanbox.com. If you want to read the era ladder, start at eras/mod.rs; for faiths, civ_tick/religion.rs and actions/religion_expanded/. The languages are in organism/vocabulary.rs.
The code is at github.com/1homsi/thehumanbox.

