state-sync
Installation
SKILL.md
State Synchronization
Ensure consistent game state across all connected players.
Snapshot Interpolation
class SnapshotBuffer {
constructor(size = 3, delay = 100) {
this.buffer = [];
this.size = size;
this.delay = delay;
}