engineering-game-state-sync
Installation
SKILL.md
Game State Sync
Purpose
Client-server state reconciliation, delta compression, optimistic updates, and rollback for multiplayer games.
When to Use
Trigger: state sync, client-server, delta compression, optimistic updates, rollback, netcode, lag compensation, snapshot, interpolation, reconciliation
Prerequisites
game-backend-architecture— server loop, tick system, authority modelredis-game-patterns— pub/sub for cross-server state distribution
Core Principles
- Server is authoritative — client predicts, server confirms or corrects. Never trust the client.
- Delta compression — send only what changed, not full state. Reduces bandwidth by 80-95% in typical games.
Related skills