Build a multiplayer browser game and put it online

Nick had Claude build Attack on Titancraft, an Attack on Titan meets Minecraft browser game, then made it multiplayer and published it online.

Nick Saraev · YouTube · published Oct 9, 2026 · Games & Simulations

Build a multiplayer browser game and put it online — video by Nick Saraev▶ Watch on YouTube
Prompt
Build a browser game that mixes [game A] with [game B]: [core mechanics]. Then add online multiplayer and deploy it to [Netlify] so friends can join.

Sponsored

Advertise here →

Visual breakdown

Nick turns a single-player 'Attack on Titan meets Minecraft' game that Claude Code built into an online multiplayer game by talking his ideas to the agent, play-testing every build himself and feeding back what felt wrong. He shipped it to a public URL and played it with coworkers for about $31 in tokens.

The problem: AI can build you a game, but a game is most fun when you share it with other people, and getting from a single-player demo to a playable online multiplayer game is the hard part.

From single-player seed to live multiplayer game

  1. Seed gameSame game prompt benchmarked on Haiku, Sonnet and Opus; about $5 versus $24–25 for the initial game
    Dropped: Weaker versions not taken forward
  2. Agent workspaceClaude Code running Opus in a terminal inside an app called Orca, easy to spawn threads
  3. Voice brain-dumpSpeak the whole vision at ~200 words a minute: teams, Titans, fuel drops, respawn rules
  4. Agent buildsOpus on fast mode makes the changes and is told to ask when unsure
  5. Play-test loopPlay each build, note what feels wrong, tell the agent again
    Dropped: Janky mechanics: wall slams, fall damage, build mode, slow Titan swipes
  6. Wire multiplayerAdd multiplayer, optimise for lag, analytics and world auto-distribution, then move off localhost
  7. Live online gamePlayed with coworkers via a Twilio relay, hosted at a public netlify.app URL
ToolsYou: talk and playAI agentResult

What he asked for in the multiplayer version

  1. Pick a side: Survey Corps members or Titans, with bots filling empty slots
  2. Several Titan types, each with its own skills, without an instant-win Colossal Titan
  3. A kill/death board and respawn timers that get longer as the game goes on
  4. Real consequences for slamming into walls or falling from height

By the numbers

$5initial game on Haiku
$24–25initial game on Sonnet or Opus
$31.44total tokens for the finished game
$17.30of that from in-session fixes

Make your own multiplayer game

Start from a single-player game the AI already built, then grow it with conversation and play-testing rather than one giant prompt.

  1. Generate a seed game and pick the model tier that fits your budget
  2. Open an AI coding agent such as Claude Code, Codex or the desktop apps
  3. Use voice transcription to describe everything you want the game to be
  4. Tell the agent to ask you if it needs more context, and don't try to one-shot it
  5. Play every build yourself and feed back what feels wrong
  6. Ask it to wire in multiplayer, optimise for lag and add analytics
  7. Ask for the fastest, easiest way to move it off localhost and put it online

He used a Twilio relay so players on restrictive networks can still connect.

What he learned building it

  • Building games with AI isn't free: you pay one way or another, so benchmark model tiers first.
  • Playing the game beats writing a huge outline: most of his best requests came to him mid-play.
  • Aim for a high-quality back-and-forth with the agent, not a one-shot like you see on Twitter.
  • Expect lag once several people join, so ask for optimisation early.
  • Talking to the model quickly and often within one session earned token discounts versus spreading work over many sessions.

Distilled from the video’s captions

How to try it

  1. Open Claude.
  2. Copy the prompt and fill in the [placeholders].
  3. Watch Nick Saraev's video for the full walkthrough and setup.

Related use cases

Share