Pixel Delta Courier
The championship arena is lagging because every tiny move sends the whole world again. Find only what changed, deliver compact numbered patches, and keep both players on the same game state.
๐ง Before we start
Backstage Schema Passport gave messages shared labels and versions. Now we will make those messages smaller. A delta describes only the difference from a known baseline. Numbered deltas let multiplayer programs apply changes once, in the right order.
Spot the delta
Compare baseline 41 with the new arena. Select only the two cells that changed. Unchanged cells already exist on the other player's device.
BASELINE ยท VERSION 41
NEW ARENA ยท VERSION 42
Pack a useful patch
Build the delivery steps in order. The receiver must know which baseline the change belongs to before it can safely update the arena.
Apply patches in order
The network delivered version 43 before version 42. Choose the next safe patch for a player currently on baseline 41.
Repair a missing-patch desync
A second player has version 41, but patch 42 was lost and patch 43 arrived. Pick the rule that avoids guessing and restores a trustworthy shared state.
43 ARRIVED โ
๐ What you learned
- A snapshot stores a complete state at one version.
- A delta stores only differences from a known baseline.
- Small deltas reduce network work when only a few values change.
- A patch needs baseline and result version numbers, not just changed values.
- Sequence numbers stop out-of-order and duplicate updates from corrupting state.
- If a required patch is missing, reject later patches and resync from a trusted snapshot.