Skip to main content
Licensed
Battles are real-time multiplayer experiences. Users are matched with one or more other players, play the same game, and are ranked by their scores. Gamezop provides the complete Battle experience, including matchmaking, the countdown, live opponent scores, and result screens. A match is one Battle between the players matched together, from the countdown until the final results. When a match ends, players can start a new one. Battles work with two types of games: sync games, where players share one board, and async games, where each player plays on their own and competes on score. See Types of Battle games for the difference. Here is what your users see during a match.

Matchmaking

When a user starts a Battle, Gamezop looks for opponents and shows a matchmaking timer. Battle matchmaking screen showing that Gamezop is finding opponents

Match found

If are found, the matched players see one another and a countdown before the match begins. If not, the user can try again.
Battle screen showing two matched players and a countdown before gameplay

Opponent found: the players see the countdown before the match begins.

Battle screen showing that no opponent was found with a Try again button

No opponent found: the user can select Try again to start matchmaking again.


Gameplay

When the countdown ends, all the players start playing. What they see depends on the type of game:
  • Sync games, such as Chess: the players play together on the same board, so each player sees their opponents’ moves as they happen.
  • Async games, such as Bottle Shoot: each player plays their own game. A strip at the top of the screen shows the scores of everyone in the match, updated in real time.
The screenshot below shows an async game. Battle gameplay screen showing player scores and the game timer

Waiting for opponents

A match ends as soon as the final ranking can no longer change. Until then, players who have finished wait on this screen, where they see the live ranking and the current score of each player still In game. For example, Player A runs out of attempts with a score of 100:
  • If Player B is still playing with a score of 80, B could still overtake A. A waits until B finishes or passes them.
  • If Player B already has a score of 120, the ranking is settled, since B’s score can only go up. The match ends for both players right away, even though B hasn’t finished, and there is no waiting screen.
The same rule applies with more players. In a game of Ludo, for example, the first player to finish still waits while the others play on for second place and below. Battle waiting screen showing live rankings while opponents are still playing

Match result

When the match ends, Gamezop shows the final ranking. Players with the same score share a rank. For example, if 3 players score 100, 100, and 80, their ranks are 1, 1, and 3. Each player sees one of these results:
  • You Won: the user ranks first.
  • It’s a Draw: the top players finish on the same score.
  • Try Again: another player ranks higher than the user.
Battle result screen showing You Won and the final ranking

You Won

Battle result screen showing that the match is a draw

It's a Draw

Battle result screen showing Try Again and the final ranking

Try Again

You can choose what the button at the bottom of the result screen does with the text field in roomDetails.
Next steps

Types of Battle games

Learn the difference between sync and async Battle games.

Integrate Battles

Set up Battles, match outcome APIs, and client-side callbacks.