Game Netcode

Choose and implement a multiplayer networking model that survives real latency and dishonest clients. Picks the authority model first from genre and player count — server-authoritative, client-authoritative, deterministic lockstep or rollback — then builds client-side prediction, server reconciliation, entity interpolation and lag compensation in that order, sizes tick rate, interpolation buffer and bandwidth against numbers, and validates on the server everything a client could lie about. Use whenever someone is adding multiplayer, debugging it, or asks "players rubber-band", "should the server be authoritative", "my fighting game needs rollback", "what tick rate", "why do my shots not register", "UDP or WebSockets for a browser game", or "the clients desync". Not for building the game, frame rate or frame budget, a web API that is not game state, or diverged replays, hash mismatches and lockstep or rollback divergence with evidence (game-desync-forensics).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 0d33c38c6f

Frequently asked questions

npx get-skill add greenblacked/game-netcode