One developer built a 3D multiplayer browser game in a single evening and wrote no code by hand. He dictated, played, and dictated again. A colleague joined a match from a plane over the Atlantic. The whole project cost $31.44 in tokens, and $17.30 of that went on fixes made while playing.
Here is the process, with the prompts, so you can repeat it with your own idea.
What the game is
A blocky 3D game. You play a soldier flying on two cables (left and right mouse buttons), Shift pulls you sharply toward the anchor point, Space speeds you up. The goal is to cut a giant at the nape of the neck. You can also play as a giant and break through the opponents' wall.
Multiplayer has two modes: a wall assault and soldiers against soldiers. Bots fill empty slots, Tab opens a kill table. There is also free flight, a tutorial, and first-person and third-person views.
What you need
- Claude Code (the desktop app or Codex also work, the author says his setup is only one option).
- A relay for multiplayer: the author used Twilio.
- Netlify for hosting.
- A microphone. Voice input is the biggest time saver: people type 40–80 words per minute and speak about 200.
Step 0: pick a model by testing the "seed"
The author gave the same task to three models and compared the first version:
| Model | First version | Result |
|---|---|---|
| Haiku 5.5 | about $5 | playable: shadows, animations, fall damage |
| Sonnet 5.5 | $24–25 | almost as pricey as Opus |
| Opus 5.5 | $24–25 | best version, the one he kept |
After that everything ran on Opus 5.5 in Claude Code, fast mode, with several agents in separate terminal tabs. If you are watching the budget, the $5 seed is a fair place to start.
Step 1: a single-player version first
Do not ask for multiplayer on the first prompt. Get something playable.
Build a single-player browser 3D game: [your idea, for example "soldiers on cables hunt giants in a blocky world"]. Everything must run in the browser, with no installation. It needs: a map with tall and low buildings, mouse and keyboard controls, health, fall damage, simple enemies, a main menu, and a controls screen. Do not use other people's characters, names, or brands; invent the world and the heroes yourself. When you finish, run the game locally and give me a link so I can play right away. Step 2: one long voice brief to go multiplayer
The author dictated this as a single stream of thought. Note the last line: he lets the agent ask questions.
Turn this game from single-player into multiplayer. 1. The player chooses a side: soldiers or giants. Playing a giant must not be boring: it should feel powerful, just with different mechanics. 2. Flight fuel runs out too fast: scatter canisters around the map so players do not have to go back to base. 3. Show how close the player is to the enemy's weak point: a screen color or an indicator, so it is clear when to strike. 4. Add a table of kills and deaths. Respawning should be a little annoying, and take longer and longer toward the end of the match. 5. Players on the same team compete over who kills more. If there are few people on the enemy side, bots take their places. 6. Make several kinds of giants with their own abilities. No one should have an "instant win" button. If you lack context, ask me and I will answer. Step 3: play it, then dictate what is wrong
This is the core of the method. You cannot plan a good game on paper, you find out by playing. His findings over several rounds:
- Hitting a wall at full speed did nothing, so he asked for damage from impacts and bad landings.
- Braking with Space kicked in too late, so a separate brake key (G) appeared that burns almost no fuel.
- The block-building mode was unnecessary and got removed.
- The strike looked weak, so the agent added a wind-up, rotation and a strike arc.
- As a giant, you could not tell if a hit landed. Fix: screen shake on every hit and a health bar.
- Terrain rising in one-block steps killed you when you ran into them. "Not very playable yet."
A template for each round:
I played it. Here is what gets in the way: - [what happened and where] - [what is annoying] - [what is missing] Fix these in order. Do not touch what works. After the fixes, restart the game and briefly tell me what changed and which keys are new. Step 4: networking, optimization, publishing
Once he liked the game, he had the agent finish the open fixes, verify everything, and only then work on speed, since lag appears with several players. He also wanted live stats on players and matches, and automatic distribution across worlds so none overflows.
Get multiplayer working over the internet, not just on my computer. I need the fastest and simplest path. 1. Players must be able to connect even if their networks block direct connections, so use a relay, for example Twilio. Tell me which account and which keys are needed and where to put them. The keys must not sit in code that the player can see. 2. Add a lobby: quick play, a private room, world selection, and automatic distribution so that one world does not overflow. 3. Optimize the game for several players at the same time. 4. Publish the game on Netlify and give me the link. 5. Count only the number of players and matches, with no IP addresses or personal data. The author asked to store players' IP addresses. Skip that. It is personal data, and a player counter does not need it.
Money and time
- $31.44 total, of which $17.30 was fixes during play.
- About 90 million tokens went through the agent, but most came from cache. He worked for roughly an hour straight, and frequent requests inside one session cost less than the same requests spread over several days. Build in one sitting.
- About an hour of agent time, plus your own playing time. Without play sessions you will not get a good game.
Where it breaks
- A friend cannot connect. For one colleague an internet provider seemed to be the obstacle. A relay does not fix every network.
- Trackpads. Hard to play on. The author used a mouse with sensitivity maxed in settings.
- New mechanics break physics. Play again after every fix instead of trusting the agent's report.
- Legal. His game was a fan project for himself and friends. If you publish it, charge for it, or show it to a client, do not use other people's characters, names or a recognizable brand style. Invent your own world.
If the game does not start, paste the browser console error (F12, Console) to the agent. If a friend cannot join, ask the agent to trace the connection through the relay and show which step fails. If it lags, make it a separate task: find the bottleneck and show measurements before and after.
The full walkthrough with the original prompts is on our blog: Claude Code multiplayer browser game.
Your turn
Spend $5 today. Paste the Step 1 prompt with your own game idea into the cheapest model, play the result for ten minutes, and write down three things that annoy you. Feed them back with the round template. If those three fixes make the game feel better, you have the loop, and multiplayer is just the next brief.
This article was written with the help of AI and fact-checked by the AI SKILLS team.