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;
}
add(snapshot) {
this.buffer.push({
time: snapshot.serverTime,
entities: new Map(snapshot.entities)
});
Related skills
More from pluginagentmarketplace/custom-plugin-server-side-game-dev
networking
Game networking protocols, WebSocket/UDP implementation, latency optimization for real-time multiplayer
2message-queues
Message queue systems for game servers including Kafka, RabbitMQ, and actor models
2design-patterns
Game server design patterns including ECS, command pattern, and event sourcing
2multithreading
Multithreading and concurrency patterns for game servers including synchronization primitives
2async-programming
Asynchronous programming models including coroutines, async/await, and reactive patterns
2data-serialization
Efficient data serialization for game networking including Protobuf, FlatBuffers, and custom binary
2