Guide

Vibe coding a multiplayer game

Updated 2026-11-23

Short answer: make the single-player game first, then paste Joinable's prompt into the same AI tool. The AI reads Joinable's instructions, adds one script and a few hooks, and leaves the servers to Joinable: you don't set any up. Friends then join from a link, or strangers through quick match, and they get a waiting room, a 3-2-1, live standings, results and a rematch button. It's free while you build. It works for games that run in a web browser.

Before you start

What to paste

Use your coding tool (Claude Code, Cursor, Codex, Copilot, Windsurf or similar), opened on your game's folder, and paste this:

Make this web game multiplayer using Joinable. Read
https://getjoinable.com/AGENTS.md first and follow it exactly: it says how
to pick the right pattern for this game's genre, what to change, and how to test
with two browser tabs. Start with the smallest change that works (usually one
script tag), test it with two tabs, and only go further if the doc's checks fail
for this game. Don't write any server code: Joinable's hosted relay does all of
that. No key is needed on localhost. If the doc's self-test applies (full rounds),
run it with `npx getjoinable test <the game's local URL>` until it passes. When
you're done, tell me which pattern you used, what you changed, and anything that
doesn't sync.

You don't need an account for this step. Using Lovable, Bolt, Replit or v0 instead? Read the app builders guide first: those need a free key from the start.

Steps for each tool: Claude Code, Cursor, Codex, GitHub Copilot.

What to expect

Check it yourself

Don't take the AI's word for it. Two checks, in order:

  1. Two windows on your computer. Open the game in two browser windows side by side (not two tabs). In one, press Play online and Invite. Open the invite link in the other window. Press Ready in both. You should see each other move, and both windows should show the same results.
  2. A friend somewhere else, on a phone. Once the game is online (next section), send a friend the invite link. They don't need an account: they open it and they're in, with a made-up name like "Lucky Gecko" that they can change. A phone on mobile data and a laptop on wifi is the real test.

If something's off, tell the AI exactly what you saw ("the other car doesn't move", "we get different tracks", "the results differ"). Those three map to real problems it can fix: the other players aren't drawn, the level isn't built from the shared seed, or the game doesn't tell Joinable when someone finishes.

Putting it online

When the game is on a real website, it needs a key. It's free:

  1. Sign up at getjoinable.com/app with your email.
  2. Add your game, and add the website address where people will play it.
  3. Give the AI your key (pk_…) and ask it to put it in Joinable's script tag. The key isn't a password: it's fine for it to be in your game's code.

If the game shows "Offline: key not allowed here" in the corner, the address you play on isn't the one you added. Add it in the dashboard.

What it costs

Full details on the pricing page.

Where it stops working

Three games run on Joinable today: Turbo Rally and Sky Isle Karts, both racers, and Firestorm, a 4v4 strategy game. Play one with a friend to see what your players will get.

FAQ

Can I make a multiplayer game without coding?

Yes, if your AI tool does the coding. Make the game work alone, then paste Joinable's prompt: the AI adds the multiplayer and tests it, and Joinable runs the servers. You check the result by playing it in two windows and with a friend.

Do I need to set up a server for vibe-coded multiplayer?

No. Joinable's hosted relay runs the rooms, invites and matchmaking. If your AI starts writing a server, ask it to follow Joinable's instructions instead.

How much does it cost to add multiplayer?

Nothing while you build and test on your own computer. A live game on the free plan gets 100 player-hours a month; paid plans start at $9.99 a month.

Do my players need an account?

No. A friend opens your invite link and they're in, with a made-up name they can change.

What kinds of games work?

Games that run in a web browser: racers, score games, puzzles, board and card games, builders, party games and strategy games. Fighting games and competitive shooters don't work yet.

Copy the prompt for your coding agent or sign up free