{"enrichment":{"faq":[{"a":"Multiplayer covers three core architecture models: dedicated servers (best for competitive games, requires infrastructure), peer-to-peer (lower latency, harder to secure), and host-based (one player hosts). Choose based on your game type\u2014competitive titles benefit from dedicated servers with server authority to prevent cheating, while casual games may use P2P. The skill guides you through trade-offs in scalability, latency, and security for each model.","q":"How do I build multiplayer game architecture?"},{"a":"Multiplayer distinguishes these architectures: dedicated servers run on external infrastructure, providing authoritative state and strong anti-cheat but requiring operational costs; peer-to-peer connects players directly, reducing latency and infrastructure needs but complicating state validation and cheating prevention. Multiplayer teaches when each suits your game\u2014MMOs typically use dedicated servers, while local co-op or fighting games often favor P2P with client-side prediction.","q":"What are dedicated server vs peer to peer games?"},{"a":"Multiplayer covers lag compensation through interpolation, extrapolation, and client-side prediction. Interpolation smooths remote player positions using past frames; extrapolation predicts future movement; client-side prediction lets local players act immediately while the server validates. The skill explains how to layer these techniques\u2014prediction masks latency for responsiveness, while server authority (rejecting invalid moves) maintains security and fairness across different connection speeds.","q":"How does multiplayer game lag compensation work?"},{"a":"Multiplayer teaches bandwidth reduction through delta compression (sending only state changes), interest management (culling distant entities), and message batching. You'll learn to prioritize critical updates (player positions, actions) over cosmetic data, use fixed timesteps for deterministic simulation, and implement bandwidth budgets per player. These techniques keep online games playable on modest connections while maintaining responsiveness.","q":"What network optimization techniques reduce bandwidth in multiplayer?"},{"a":"Multiplayer emphasizes server authority as the primary anti-cheat principle\u2014never trust client input for critical game state. The skill covers validating all player actions on the server, using cryptographic checksums for state verification, and detecting anomalies (impossible movement speeds, out-of-bounds positions). Combined with lag compensation techniques, server-authoritative design makes cheating detectable and costly, protecting competitive integrity.","q":"How can I prevent cheating in multiplayer games?"},{"a":"Multiplayer introduces matchmaking fundamentals: skill-based pairing (rank/rating systems), latency-based grouping, and queue management. The skill explains how to balance match quality (similar skill levels) against queue wait times, implement rating systems (Elo, TrueSkill), and consider regional servers to minimize lag. Effective matchmaking keeps players engaged by creating fair, responsive matches.","q":"What matchmaking algorithm should I use for games?"}],"shadow_tags":["server-authority","lag-mitigation","bandwidth-optimization","cheat-prevention","game-architecture","real-time-sync","matchmaking-systems","client-prediction","network-protocols","competitive-gaming"],"summary_rewrite":"Master the fundamentals of multiplayer game development through architecture selection, synchronization techniques, and network optimization. This skill guides you through choosing between dedicated servers, peer-to-peer, and host-based models, then covers lag compensation, bandwidth reduction, and server-authority security patterns to prevent cheating."},"files":[{"bytes":2813,"path":".agents/skills/game-development/multiplayer/SKILL.md","sha256":"79ee8d6f2e04a993b6cdf5eb251590051427cc4e09aa3a7f67f1ab8e61e205f5","url":"https://skillfed.io/files/vudovn/ag-kit/multiplayer/1609a3af/SKILL.md"}],"id":"vudovn/ag-kit/multiplayer","links":{"html":"https://skillfed.io/vudovn/ag-kit/multiplayer","md":"https://skillfed.io/vudovn/ag-kit/multiplayer.md","repo":"https://github.com/vudovn/ag-kit"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":1512,"language":"TypeScript","last_updated":"2026-07-26","license":"MIT","name":"multiplayer","publisher":"vudovn","stars":8011},"relations":{"categories":["game-development","networking","multiplayer-systems"],"similar":[{"id":"itzzritik/OrderWorder/multiplayer"},{"id":"vudovn/ag-kit/mobile-games"},{"id":"vudovn/ag-kit/game-development"},{"id":"vudovn/ag-kit/game-design"},{"id":"vudovn/ag-kit/game-art"},{"id":"pluginagentmarketplace/custom-plugin-game-developer/synchronization-algorithms"},{"id":"dadbodgeoff/drift/server-tick"},{"id":"jame581/GodotPrompter/multiplayer-sync"},{"id":"vudovn/ag-kit/web-games"},{"id":"vudovn/ag-kit/pc-games"}]},"slug":{"owner":"vudovn","repo":"ag-kit","skill":"multiplayer"},"version":"1609a3af"}
