Dead Frequency
October 2026a multiplayer survival game in pixel art, where the world is procedurally generated using AI as players explore new sectors.
Play it https://dead-frequency.jeremymouton.com
- Runs on
- Any browser with WebGL 2. Keyboard and mouse, touch, or a gamepad; works on a Steam Deck.
- Model
- Gemini, for designing regions, dialogue and spoken replies.
- Stack
- TypeScript, Three.js, Node 24, WebSockets, SQLite, esbuild, Vitest
# What it is
A multiplayer survival game in low-poly pixel art, played top-down or in first person. You scavenge, build guns from parts, trade with the people living in the settlements and take on contracts. The further you go from spawn, the harder it gets.
You can type to the characters or just talk, and they answer out loud, each with their own voice. Players near each other can talk over voice chat.
# How it works
The server decides everything that matters: hits, trades and quest rewards. When players walk into a new area, Gemini writes its history, what can be found there and what the people there say. The game code keeps rewards and items within set limits.
Most of what you see is built in code while the game runs: the buildings from their floor plans, the terrain and the props.
# Schematics
One server decides
- BrowserThree.js, drawn at a low resolution for the pixel look. Played from overhead or in first person.
- ServerRuns ten times a second and handles combat, trades, quests, physics and the state of the world.
- WorldGenerated in chunks in the background as players move out, and saved in SQLite.
- PlayersEach player has their own WebSocket. Voice chat reaches players nearby and is muffled by walls.
The director
- New regionA player walks somewhere nobody has been yet.
- GeminiWrites the area's items, documents and side quests, and how the people there talk.
- ValidationEvery field is checked against the values the game allows, and every number is capped.
- In the worldWhat passes goes live for everyone. World events can change faction standing and what traders stock, within limits.
# The main story is written the same way and shared by every player.
# For quests, the model can only pick stages the server has defined. Rewards come from a formula based on the danger, not from the model.
Talking to people
- YouType, or hold a key to talk and Gemini transcribes it.
- Server firstCommands, trades and quest steps are settled before any reply is written.
- GeminiWrites the reply and the character's mood, based on what just happened in the game.
- VoiceGemini TTS reads it out. Each character keeps the same voice.
# Greetings are written and voiced ahead of time for each region, so the first conversation doesn't have to wait.
# The model can't give out items, complete quests or change prices.
People, without the model
- PrioritiesFollow you, fight, take shelter from emissions, carry out tasks, check out noises and heal.
- CombatThey use cover, flank and throw grenades.
- PathsPathfinding on a grid, with a time limit and one new plan per tick.
- Far awayAway from players, they only update once a minute.
Art
- Built in codeBuildings put together from generated floor plans, with real openings in the walls, plus terrain props and equipment.
- SurfacesPixel materials with roughness and relief for brick, timber, plaster and metal.
Sound
- SynthesisedMade with Web Audio while the game runs: gunfire, footsteps that change with the surface, weather and the hum of machines.
- Voice chatYour mic is relayed to nearby players, shaped by the room you're in and muffled through walls.
# Assets
240 assets in the current game, 117 loot and gear, 34 buildings, each with its native 3D model and floor plan, 23 scenery pieces, 16 furniture, 9 vehicles, 12 trees.
prev harness-workflow next the-zone work home