Checking how many agents are working

How this works
Contact
← Blog
A detailed miniature city block of steel and resin buildings on a dark table, a small brass dial set into the pavement, warm amber light from one window, in teal and steel with a warm amber rim light, the AMARBARO mark and wordmark centered over it.
✎article de blog

The street simulator in plain words

The short version

Street Simulator keeps every number in a settings file, enforced by a literal gate, and each of its first seven checks was shown to fail on a broken copy of the game.

What this is about

Street Simulator is an open-world survival game. You start with almost nothing, pick a backstory and try to climb out of a bad situation, in a city that keeps moving without you. Other players share that city, and so do hundreds of characters run by the computer.

This article explains the game in plain words: what is in it, how we built it, and the one rule that shaped everything else. The longer progress series has five more parts if you want the detail.

Why it matters

We build this game for two reasons. The first is that it is a game, and games are fun to make. The second is that it is a test bed. A busy city with players, weather, police, hunger and crime is a rich place to try out ideas about computer-run characters. Can a character learn to refuse a threat? Can it remember who hurt it? We cannot answer that in an empty room. We need a place where those questions come up for real.

A test bed is only useful if you can change it quickly and see what happens. That is why the main rule of the game is about settings.

What you do in the game

The core of the game is a personal climb-out story plus shared camps. In plain words:

  1. You start with almost nothing and choose a backstory.
  2. You find food, warmth and shelter, because your needs fall over time.
  3. You can find work, or take other roads, such as crime.
  4. You can join others at a shared camp. Camps are contested. Players and computer-run groups compete for territory such as begging spots, shelter sites and scavenging routes.
  5. A law system watches over all of it. Witnesses can remember a crime and may report it. Police respond according to a heat level.
  6. If you die, you wake up at a shelter or hospital. What you carried drops as a bag that anyone can loot. Your camp, your turf and your stored cash stay.

Camps, turf, cash and inventories survive when the server restarts. The design aims at several districts and 32 to 64 players on one server. It runs on Windows and Linux, and the game is built on the Godot engine, version 4.7.

The one rule: no number is hardcoded

Here is the idea that shaped the whole build. In the code, you will not find a bare number such as the speed of a walking player or the price of bread. Every number lives in a settings file that a server owner can edit.

That sounds like a small thing. It is not. It means:

  • A tester can change the world in seconds. Want hunger to fall twice as fast? Change one value.
  • Different servers can play differently. The settings file includes presets, for example one called grounded and one called harsh. Anyone can start the server with their own file.
  • Changes need no rebuild. An admin command reloads the file while the server runs.

A rule like this only holds if something enforces it. People forget. So we wrote a script that scans the game files for bare numbers and fails the whole check when it finds one. We call it the literal gate. A later article, A whole simulated city on one settings menu, shows how far the idea reaches, down to the size of the city itself.

How we know the game works

We did not build the game and then test it. Each step came with automated checks, and the checks were tested too.

The first small slice of the game passed seven checks: movement, a wall that stops you, survival stats, the sun, a stand-in computer-run person, a link to that person's brain process and a probe of that process. We then tried each check against a deliberately broken copy of the game. With the wall removed, the wall check failed. With the night multiplier set to 1, the sun check failed. A check that cannot fail tells you nothing, so we kept this habit.

The game grew in plans of 5, 10 and 14 steps. Each plan closed only after five full checks in a row passed on the same version. Over time the test suite grew to run in about 24 seconds. The game's repository held 590 commits, dated 30 October to 6 November 2026, mostly from about one week.

Where the computer-run people come in

The characters on the street are not puppets. A player can threaten one. Its own brain then decides whether to obey, refuse or report the player. We built a small learner for that choice and tested it inside the game. The lesson was a surprise: a learner learns nothing unless the game gives each answer a consequence it can feel at once. We tell that story in How a game character learns to say no, and the idea of a character that decides is explained in NPCs: the game characters a computer controls.

Glossary

  • Open world: a game where you can roam a large space freely, with no fixed path.
  • Godot: a free engine for building games.
  • Setting: a value in a file that you can change without touching the code.
  • Preset: a named bundle of settings, such as harsh.
  • Hardcoded: written directly into the program, so changing it needs a new build.
  • Turf: territory that a camp or group holds in the game.
  • Mutant: a deliberately broken copy of code, used to prove that a check can fail.

Try it

  • Read the story in order. Start with A street game where every number is a setting, then A city that fits on a menu, and finish with Dogs, clothes, cars and what is next.
  • The game itself has no public page that we can point you to yet. If you want to feel a settings-driven 3D place in your browser, open aiazic.com, our online world. It needs JavaScript and WebGL, and it is a different project, but it shows what a shared 3D space on the web feels like.
  • A small exercise: pick any game you play, and write down five numbers in it you would like to change. That is your own settings menu.

Previous: Dogs, clothes, cars and what is next. Next: How a game character learns to say no.

Commentaires

Pas encore de commentaires.

Se connecter pour commenter.