Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.73 KB

game-state-synchronization.md

File metadata and controls

45 lines (35 loc) · 1.73 KB

Game State Synchronization in Unity Multiplayer

Game state synchronization is one of the most important parts of a multiplayer Unity game. Every connected player should receive the information required to display the current match correctly.

In a multiplayer board game, this can include player positions, turns, scores, dice results, cards, timers, and match status.

The goal is not necessarily to send every visual event over the network. Instead, the networking system should keep the important shared state consistent while allowing each client to handle presentation locally.

Table of Contents


What Is Game State Synchronization?

Game state synchronization is the process of keeping important multiplayer game data consistent between the systems participating in a match.

For example:

Player 1 Position = 8
Player 2 Position = 13
Current Turn = Player 3
Round = 4