Network disconnections are common in multiplayer games, especially on mobile devices where players can switch between Wi-Fi and mobile data or temporarily lose connectivity.
A reconnect system allows a multiplayer game to detect a disconnected player, preserve the appropriate game state, and restore the player's session when the connection becomes available again.
For turn-based board games, reconnect support is particularly useful because a match may continue for several minutes while players are taking turns.
- What Is a Reconnect System?
- Why Reconnection Matters
- Disconnect Detection
- Basic Reconnect Flow
- Preserving Player State
- Identifying the Reconnecting Player
- Restoring Game State
- Reconnecting During a Turn
- Reconnect Timeout
- Mobile Network Switching
- Late Reconnection
- Handling Reconnect Failures
- Example Reconnect State
- Testing Reconnection
- Related Documentation
A reconnect system defines what happens when a player's network connection is lost and the player attempts to return to the same multiplayer session.
A basic flow is:
Player Connected
│
▼
Network Connection Lost
│
▼
Player Marked Disconnected
│
▼
Reconnect Attempt
│
▼
Player Identified
│
▼
Game State Restored
│
▼
Player Continues Match