Invite links vs matchmaking for small web games
Updated 2026-11-23
Short answer: for most small and new web games, put the invite link first and quick match second. A small game rarely has two strangers online at the same moment, so matchmaking alone often leads to an empty lobby, and an empty room is where players give up. An invite link always leads to a game: the friend taps it and they're in. Add quick match for when your game grows, and match players on the same version and the same format. Joinable does both, invite first.
Three ways in
| How it works | Good for | Weak spot | |
|---|---|---|---|
| Invite link | The host shares a URL; opening it joins the room | Friends, family, Discord groups, any game at any size | Needs someone to invite |
| Room code | The host reads out a short code; others type it in | Party games on a TV, players in the same room | Typing; easy to mistype; useless over chat when a link would do |
| Quick match | The game pairs whoever is looking right now | Busy games with players online at all hours | Empty lobbies in small games |
A link beats a code almost everywhere on the web: it works in every chat app, it opens the game straight into the room, and on a phone the share sheet sends it in two taps.
Why invite first
Our founder played Firestorm online with Joinable on 10 November 2026 and found the invite link buried. The rule for everything players see became a product decision: easier, simpler, clearer, nicer. So in every game using Joinable today (more of what we learned):
- The play-online sheet's first choice is Invite a friend. Quick match comes second.
- On a phone, the share sheet opens at once (Messages, WhatsApp, Mail). On a computer, the link is already copied and the button says so.
- The waiting room starts with the invite: one big action, the link itself, then Email and, on computers, WhatsApp and Telegram. The words name the game ("Join me in Firestorm").
- Once a friend is in, the invite shrinks to one "Invite more" row until the room is full.
- The friend's link opens the game straight into the room, with no extra tap.
- The address bar is the invite link (
?join=…), so a copied URL or a reload gets back in.
Players don't need accounts. Someone who opens the link gets a made-up name like "Lucky Gecko" and can change it, or your game passes its own with me: { name, avatar }.
When quick match is worth it
Matchmaking turns a multiplayer game into an online game: people who are on right now play each other. It's worth adding when:
- you have enough players that two are often online at the same time;
- the game is short, so a stranger is a fair partner for one round;
- you can show it's alive: "12 online · 3 rooms open" in the menu.
With Joinable, public: true in Joinable.game turns it on. Joinable.quickMatch() (or Quick match in the sheet) pairs players when all of these match:
- the game (its key and name);
- the build, if you pass one, so old and new versions never meet;
- the format, if your game lists
formats(1 v 1, 2 v 2, 4 v 4): players pick one first.
A player who asks within about 20 seconds of another joins their open room at once; later ones still find any open room that isn't full or started. Joinable.online() gives you the counts for your menu.
Never an empty lobby
What a small game can do when nobody else is online:
- Lead with the invite. Friends are most of a small game's multiplayer traffic.
- Race the AI. In racing games with their own AI,
bots: trueandaiAfter: 20start a race against your game's AI karts after 20 seconds alone. The waiting room says so: "Looking for players (1 here) · Racing the AI in 12 s". Every new player restarts the wait. - Fill seats with AI in strategy games with
bots: true: the host fills empty seats with your game's own AI, labelled as AI. - Keep solo great. Solo play always works, whatever happens online.
Recorded "ghost" runs of real players to fill quick match are planned, not built.
What we got wrong first
Two quick-match bugs from real games, both fixed:
- Builds: in Firestorm's play-test, strangers on a game with a
buildmet only if they tapped within 20 seconds of each other, because rooms reported to the wrong lobby. Rooms now report to their build's lobby. - Local testing: Sky Isle Karts' developer found that quick match on localhost without a key paired only tabs of one browser. It now pairs separate browsers on the same page address and network, and the self-test checks it with two separate browsers.
Lesson: test matchmaking with two separate browsers (or one normal and one private window), never two tabs of the same one.
The code
(window.JoinableQ = window.JoinableQ || []).push((Joinable) => {
Joinable.game({
profile: 'race',
name: 'Kart Loop',
players: { min: 2, max: 8 },
public: true, // quick match on, alongside invite links
bots: true, // the game has AI drivers
aiAfter: 20, // race the AI after 20 s if nobody comes
// …start, go, local, remote, ai, stop
});
});
// your own menu buttons:
inviteButton.onclick = () => window.Joinable?.copyInvite();
quickButton.onclick = () => window.Joinable?.quickMatch();
Most games don't need their own buttons: Joinable's Play online sheet has both. Full guides: racing, score games, or paste the prompt into your coding agent.
FAQ
Should my multiplayer web game have matchmaking?
Add it, but don't lead with it while the game is small. Put the invite link first; strangers are rarely online at the same moment in a new game, and an empty lobby loses players.
Are invite links better than room codes?
On the web, usually yes. A link works in any chat app and opens the game straight into the room; a code has to be read, typed and can be mistyped. Codes still suit a party game on one TV.
Do players need an account to join?
Not with Joinable. Opening the invite link is enough; players get a made-up name they can change, or the game passes its own.
How does Joinable's quick match pair players?
It pairs players of the same game, the same build and the same format. Someone who asks within about 20 seconds of another joins their room at once; later players find any open room that isn't full or started.