multiplayer

Guides multiplayer game architecture selection, network synchronization, and server-authoritative security design.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/kaitoartz/dotfiles --skill multiplayer-kaitoartz
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: multiplayer
Source: https://github.com/kaitoartz/dotfiles/tree/main/dot_gemini/config/skills/game-development/multiplayer
Command: npx skills add https://github.com/kaitoartz/dotfiles --skill multiplayer-kaitoartz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Designing networked multiplayer games requires choosing the right architecture, synchronization model, and security approach, and wrong early decisions lead to latency problems, cheating vulnerabilities, and wasted bandwidth. ## Core Features & Use Cases - Architecture Selection: Decision tree and comparison tables for dedicated servers, P2P, host-based, and distributed MMO architectures. - Synchronization & Lag Compensation: Guidance on state sync versus input sync, client prediction, interpolation, reconciliation, and lag compensation for hit detection. - Optimization & Security: Bandwidth reduction techniques (delta compression, quantization, area of interest), update rate guidelines, server authority validation, and anti-cheat patterns. - Use Case: When building a competitive real-time shooter, use this Skill to select an authoritative dedicated server architecture, design lag compensation for hit registration, and define server-side validation rules against speed hacks and aimbots. ## Quick Start Use the multiplayer skill to design the networking architecture and synchronization strategy for a cooperative online game.

Frequently Asked Questions about multiplayer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose a multiplayer architecture for my game?▼

Choose based on game type: competitive real-time games need authoritative dedicated servers, cooperative casual games work with host-based setups, turn-based games suit simple client-server, and MMOs require distributed servers. Compare latency, cost, and security trade-offs.

What is the difference between state sync and input sync?▼

State sync transmits game state and suits simple games with few objects, while input sync transmits player inputs and fits action games. Most games use a hybrid approach combining both for accuracy and bandwidth efficiency.

How does lag compensation work in multiplayer games?▼

Lag compensation combines client prediction, interpolation for smooth remote player movement, reconciliation to fix mispredictions, and server-side rewinding for fair hit detection. Design your game to tolerate 100-200ms latency.

How do I prevent cheating in online multiplayer games?▼

Make the server the sole authority: validate movement to stop speed hacks, validate sight lines against aimbots, keep inventory server-owned to prevent item duplication, and never send hidden data to clients to block wall hacks.

What update rate should multiplayer games use?▼

Send position updates at 20-60 Hz, while health, inventory, and chat should update only on change or send. Combine this with delta compression, quantization, priority ordering, and area-of-interest filtering to reduce bandwidth.