The Zone

~ $ open the-zone

The Zone

October 2026

A top-down shooter in a world that doesn't exist until somebody walks into it. Then it's saved, for everyone.

Play it https://zone.jeremymouton.com

Top-down view outside Clearbrook's office with a dialogue panel for Andriy Lysenko, Loners · Rookie, offering trade, rumours, a job or hiring him.
I asked a loner who he was. "Walked in on a dare at nineteen and stayed for the money."
  • Inside the general store at dusk, the trader Oksana Savchuk's dialogue panel offers the job "Medical Run in Clearbrook" for $105, with her briefing in her own words.
  • The trade screen with the survivor's equipment slots, carried pockets and sling bag, and the trader's priced stock of food, water, filters, a detector and packs.
  • Night top-down view of Clearbrook's bar with the roof cut away, the medic, fixer, armourer, trader and barkeep standing around a pool table under warm light.
  • Top-down daylight view of an olive pickup truck in wet grass by a chain-link fence, headlights on, rain streaking across the frame, with the vehicle panel showing speed and fuel.
  • The in-game map panel showing a paper-style hand-drawn plan of Clearbrook with its gun store, gas station, clinic, shooting range and the player's arrow in the middle of town.
Runs on
A browser. Mouse and keyboard or a standard gamepad; works on a Steam Deck through Steam Input.
Model
Gemini, for the survivors' identities, dialogue, quests and voices.
Stack
TypeScript, Three.js, Node 24, WebSockets, WebRTC (node-datachannel), SQLite, Vite, Vitest, Playwright

# What it is

A 3D multiplayer survival shooter, seen from above, in an open world with no edge. New ground is made the first time someone explores it and is saved for everyone after. It runs in the browser, so you’re in right away.

# How it works

Every character has a name, a personality, a temper and a backstory, written once by an LLM and kept from then on. They talk about what’s going on around them, give quests tied to real places on the map, and carry on with their lives when nobody is around. When you log back in, you get a summary of what happened while you were gone.

The server checks what the model suggests against the game’s rules before anything happens. Players close to each other can talk over voice chat, and you can speak to the characters out loud.

The first 3D models came from cloud services. The ones in the game now are made locally with ComfyUI, which also creates new items and icons as players discover new ground.

# Schematics

One world, one server

  1. BrowserThree.js. Your moves show up right away, and the server corrects them if needed.
  2. ServerRuns twenty times a second and decides every hit, trade and pickup.
  3. SectorsGenerated from the world seed the first time someone walks in, then saved.
  4. EveryoneUpdates go out over WebRTC, or WebSockets when that doesn't work. Voice reaches players within 40 meters.

# Shots are judged by where everyone was when you fired, not when the server got the shot.

The model proposes, the server decides

  1. World stateYour reputation, what the factions have done and what's actually nearby.
  2. GeminiWrites what the character says, their mood and any quest they offer.
  3. Server checksSets the prices, runs the actions and ties each quest to something real on the map.
  4. VoiceGemini TTS reads it in the character's voice. Each line is cached.

# Short callouts and alarms were recorded ahead of time with Chatterbox voice clones on my ComfyUI machine.

Who lives there

  1. IdentityWritten once: name, skills, temper, backstory and ties to other people.
  2. RoutineWhere they should be at each hour: work, meals, sleep and keeping watch.
  3. Off-screen squadsGroups go scavenging, trading and fighting other factions while nobody is watching.
  4. DigestWhen you log in, a summary of what happened while you were away.

Models, from prompt to game

  1. PromptWhat the object is and how it should look.
  2. FLUX.2 KleinMakes a reference image on my ComfyUI machine.
  3. TRELLIS.2Turns the image into a 3D model, simplified, with its textures baked in.
  4. Scriptsgltf-transform adds a shared rig and variants, and renders the inventory icon.

# The first models came from Meshy and Tripo3D, which also did the early rigs and the creature animations. Character bodies are built in Blender with MPFB, with CC0 motion clips.

# Every generation is logged with the model used, the cost and the time.

The forge

  1. New groundA player walks somewhere nobody has been.
  2. DesignThe server asks for new items based on existing ones. Their stats are capped by tier.
  3. WorkerOn a local GPU: a FLUX image, a TRELLIS model and an icon.
  4. In the gameSent back to the game server. The server never connects to the GPU machine directly.

Sound

  1. LibrariesCC0 sound effects from OpenGameArt and Kenney.
  2. GeneratedAmbient music loops made with Stable Audio Open and ElevenLabs.
  3. PlacedSounds come from where they happen, get quieter with distance, echo in rooms and are muffled behind walls.
  4. ListeningTalk to characters out loud. The browser transcribes it, or Gemini does from a short clip.

# Assets

3,328 assets in the library, 2,098 recorded voice lines, 503 sounds, 178 props, 170 item icons, 138 pieces of gear, 84 textures, 28 building recipes, 17 weapons, 15 characters.

prev dead-frequency next plantcare work home

~/work/the-zone $