Matchmaking is how an online game decides who plays whom. A player taps play, joins a queue, and the server looks at everyone waiting and groups them into a match. The goal is always the same balance: get people into a game quickly, and make that game feel fair.
On mobile, speed usually matters more than perfect balance. People play in short gaps of time, and a long wait on a spinner loses them faster than a slightly uneven match.
This guide covers the core choices you make when designing matchmaking, and the mistakes that empty out a new game.
What matchmaking has to balance
Every matchmaking system juggles three things.
- Wait time. How long a player sits in the queue before a match starts.
- Match quality. How evenly skilled the players are, and whether the match will be close.
- Connection quality. Whether the players can talk to the same server without heavy delay.
You cannot max out all three at once, especially when few people are online. A strict skill rule gives great matches and long waits. A loose rule gives instant matches that are sometimes lopsided. Good matchmaking shifts between the two as time passes.
How a matchmaking queue works
Most queues follow the same simple pattern.
- The player picks a mode and taps play.
- The server adds them to a queue with a few facts: their rating or level, the mode, the time they joined.
- Every short interval, the server looks for players who fit together.
- When it finds a group, it creates a match, sends everyone in, and removes them from the queue.
- If nobody fits, the player waits, and the rules gently relax.
That last step is the heart of good matchmaking.
Widening the search over time
The most useful technique for a small or growing game is a widening window.
- First few seconds: look only for players close to the same level.
- A little later: accept a wider range of levels.
- Later still: accept almost anyone in the same mode.
- At the limit: start the match with a computer opponent in the empty seats.
This way, busy times give tight matches, and quiet times still give a game. The exact timings depend on your game and your audience, and they are worth tuning after launch by watching how long people actually wait and how often they quit the queue.
Measuring skill without overcomplicating it
You need some sense of how good each player is. Options from simplest to most involved:
| Approach | How it works | Good for |
|---|---|---|
| Player level | Uses the level players earn by playing | Casual games, early launch |
| Win rate | Compares recent wins and losses | Simple competitive modes |
| Rating | A number that rises and falls with each result | Ranked play, leaderboards |
| Rating plus confidence | Rating with extra caution for new players | Large, competitive games |
For most mobile games, start simple. Level or a basic rating is enough at launch. A complex system with too few players just produces long waits.
Private rooms: matchmaking you skip
Many players do not want strangers at all. They want to play with friends. Private rooms solve that: one player opens a room, shares a short code, and friends join from their own phones.
Our games lean on this. Ludo Fighters supports online squads of 2 to 6 friends, and NPL Cricket League uses private lobbies so friends can play a live match together. For social board and sports games, private rooms are often used more than the public queue, so treat them as a first-class feature, not an extra.
Never leave a seat empty
The biggest risk for a new online game is the empty lobby. A player opens the game, waits, sees nobody, and leaves. The next player does the same.
The fix is a strong computer opponent that can fill seats. In our games, Lumi AI, our computer opponent, takes empty seats so the match starts on time, and steps in if someone leaves partway through. It plays by the same rules as everyone else. You can read more on the Lumi AI page.
Two honest rules apply here:
- Be clear when a seat is filled by Lumi AI. Players should know who they are playing.
- Keep ranked results fair. Decide up front how matches with a computer opponent count towards ratings or rewards.
Common matchmaking mistakes
- Too many modes at launch. Every extra mode splits the queue. Start with one or two and add more as players arrive.
- Strict skill rules with few players. Perfect balance means nothing if nobody gets a game.
- No feedback in the queue. Show the player what is happening, and give an estimated wait or a way to play solo while they wait.
- Ignoring party play. Groups of friends should be able to queue together without being split.
- Forgetting regions and time zones. Quiet hours look very different around the world. Plan how the queue behaves at three in the morning.
What your team should see
Matchmaking is never finished at launch. Your team should be able to watch queue length, average wait and how many players give up before a match starts. Those numbers tell you when to widen the window, merge modes or run an event to bring people online at the same time. Our live ops page covers the dashboard side.
If you are planning an online game and want matchmaking that works from the first day, our multiplayer page shows what we build, and you can tell us about your game and how many people play at once.
Frequently asked questions
What is matchmaking in a mobile game?
It is the system that groups players who want to play into the same match. It tries to balance a short wait with a fair, close game.
Should a new game use skill-based matchmaking?
Use a light version. With few players, strict skill rules cause long waits, so start loose and tighten the rules as your player base grows.
What happens when not enough players are online?
A good game fills the gap with a computer opponent. In our games, Lumi AI takes empty seats so the match starts on time.
Are private rooms part of matchmaking?
They sit alongside it. Private rooms let friends skip the public queue and play together using a short code.