How to make a score game multiplayer: arcade, puzzle, party
Updated 2026-11-23
Short answer: if your game ends with a score or a time, you don't need to sync its world. Give every player the same seeded round, start them at the same moment, and show everyone's score live. Each player plays their own copy of the game; the competition is the multiplayer. With Joinable it's one async script tag and one Joinable.game({ profile: 'score' }) call, and players get invites, quick match, a waiting room, a shared 3-2-1, live scores, one leaderboard and rematch. Your game's logic doesn't change.
Why "parallel play" works so well
Arcade games, puzzles, endless runners, mini games and daily challenges have something in common: the player plays against the game, not against another player's body. So instead of one shared world, every device runs its own round, from the same seed:
- No netcode in your game. Nothing about your world is sent. Only your score, twice a second.
- Latency doesn't matter. Your own game runs locally with no delay, wherever the others are.
- It's fair. Same level, same spawns, same "go" on every screen.
- It's cheap. A 4-player score room sends about 8 messages a second in total.
It's the same idea as a race where each runner has their own lane. Joinable calls these full rounds, and they're the first thing we recommend whenever they fit.
The code
<script async src="https://relay.getjoinable.com/sdk.js" data-connect="invite"></script>
async means your game starts at once whatever happens to Joinable. data-connect="invite" means solo players never connect. No key is needed on localhost; before going live, get one free at getjoinable.com/app and add data-key="pk_…".
(window.JoinableQ = window.JoinableQ || []).push((Joinable) => {
onlineButton.hidden = false; // only offer online play once Joinable is here
onlineButton.onclick = () => Joinable.open();
Joinable.game({
profile: 'score',
name: 'Bubble Pop',
players: { min: 2, max: 8 },
public: true, // strangers can meet through Quick match
start({ seed, options }) { newRound(seed); }, // same seed on every player: reset everything
go() { running = true; }, // the start signal, at the same moment everywhere
local() { return { score }; }, // read about twice a second
stop() { showMenu(); },
});
});
// when the round ends for this player:
window.Joinable?.finish({ score });
That's the whole integration. Bubble Pop's score attack is a complete example.
The one thing you must change: seed your randomness
Every Math.random() that changes the round (the level, the pieces, the spawns, the deck) must come from a seeded generator started from seed. Otherwise each player gets a different game and the scores mean nothing. Cosmetic randomness (particles, screen shake) can stay Math.random().
Any small seeded generator works. Create it in start(), and draw every gameplay random number from it.
Settings, picks and your own look
- Options the host chooses in the waiting room, the same for everyone: difficulty, level, mode. Declare them with
optionsand read them instart(). - Player picks each player chooses for themselves: a character, a colour. Declare them with
playerOptions; each player's choice reachesstart()inplayers[i].picks. - Round length: a round ends after 15 minutes by default, with players who haven't finished counted as not finished.
maxMinuteschanges it. - Your look: pass
themewith your game's colours and font. Joinable's screens read your page's CSS by default, but setting it is exact. - Your own results screen: pass
onResults, and Joinable shows only a small Rematch / Change / Leave bar over yours.
Party games: who's it for?
Score rounds suit party play well: a short round, everyone on their own phone, a leaderboard at the end and a one-tap rematch. Invite comes first: on a phone, Invite opens the share sheet, and the friend's link opens the game straight into the room. For party games where players share one world (bumping, tagging, collecting from one pile), see arena games.
Quick match and an empty room
With public: true, Quick match puts a player in a room with others who asked for the same game within about 20 seconds, or in any open room that isn't full or started. Joinable.online() gives "N online, N rooms open" for your menu. But a small game rarely has two strangers online at once, so put the invite first. More on that trade-off: invite links vs matchmaking.
Cheating, honestly
Each device reports its own score. The room rejects impossible scores, which is fine for friends and casual leaderboards. A leaderboard with prizes needs runs verified by a server that replays them; that's planned, not built.
Test it
npx getjoinable test http://localhost:5173/
The self-test opens headless players, checks they all get the same seed, see each other's scores, reach one result and start a rematch. Give Joinable.game a testDrive() so the test players actually play to the end. Then play one real round on two devices. Or paste the prompt into your coding agent: building with Cursor or Claude Code is covered in the AI coding agents guide.
FAQ
What is a score profile?
A way to make a single-player game multiplayer without syncing its world. Every player plays their own copy of the same seeded round, starting together, and Joinable shows everyone's score live and one leaderboard at the end.
Do I need to change my game's logic?
Barely. You start a round from Joinable's seed, start play on its signal, report the score, and call finish at the end. The only real change is making gameplay randomness come from the seed.
Can I make a puzzle game multiplayer this way?
Yes, if players race to the best score or time on the same puzzle. If they must work on one shared board together, use a shared world instead: see board and card games.
How many players can play one round?
Up to 4 on the free Sandbox plan on a live site, 8 on Starter and Pro, and 16 on Studio. On localhost, rooms hold 8 on every plan.
Does my game still work if Joinable doesn't load?
Yes. With the async tag and the queue, the online button stays hidden and the game plays solo as before. Guard every other call as window.Joinable?..