[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EYNJ4BVY9Q5F59T1YVESJ4":3,"skill-same:01M6EYNJ4BVY9Q5F59T1YVESJ4":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6EYNJ4BVY9Q5F59T1YVESJ4","multiplayer",null,"Multiplayer game development principles. Architecture, networking, synchronization.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fsickn33\u002Fgame-development\u002Fmultiplayer\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30],"architecture","development","networking","game development","Bash","game","synchronization","grep","read","write","edit","principles","2026-11-10 10:12:30",false,"---\nname: multiplayer\ndescription: Multiplayer game development principles. Architecture, networking, synchronization.\nallowed-tools: Read, Write, Edit, Glob, Grep, Bash\n---\n\n# Multiplayer Game Development\n\n> Networking architecture and synchronization principles.\n\n---\n\n## 1. Architecture Selection\n\n### Decision Tree\n\n```\nWhat type of multiplayer?\n│\n├── Competitive \u002F Real-time\n│   └── Dedicated Server (authoritative)\n│\n├── Cooperative \u002F Casual\n│   └── Host-based (one player is server)\n│\n├── Turn-based\n│   └── Client-server (simple)\n│\n└── Massive (MMO)\n    └── Distributed servers\n```\n\n### Comparison\n\n| Architecture | Latency | Cost | Security |\n|--------------|---------|------|----------|\n| **Dedicated** | Low | High | Strong |\n| **P2P** | Variable | Low | Weak |\n| **Host-based** | Medium | Low | Medium |\n\n---\n\n## 2. Synchronization Principles\n\n### State vs Input\n\n| Approach | Sync What | Best For |\n|----------|-----------|----------|\n| **State Sync** | Game state | Simple, few objects |\n| **Input Sync** | Player inputs | Action games |\n| **Hybrid** | Both | Most games |\n\n### Lag Compensation\n\n| Technique | Purpose |\n|-----------|---------|\n| **Prediction** | Client predicts server |\n| **Interpolation** | Smooth remote players |\n| **Reconciliation** | Fix mispredictions |\n| **Lag compensation** | Rewind for hit detection |\n\n---\n\n## 3. Network Optimization\n\n### Bandwidth Reduction\n\n| Technique | Savings |\n|-----------|---------|\n| **Delta compression** | Send only changes |\n| **Quantization** | Reduce precision |\n| **Priority** | Important data first |\n| **Area of interest** | Only nearby entities |\n\n### Update Rates\n\n| Type | Rate |\n|------|------|\n| Position | 20-60 Hz |\n| Health | On change |\n| Inventory | On change |\n| Chat | On send |\n\n---\n\n## 4. Security Principles\n\n### Server Authority\n\n```\nClient: \"I hit the enemy\"\nServer: Validate → did projectile actually hit?\n         → was player in valid state?\n         → was timing possible?\n```\n\n### Anti-Cheat\n\n| Cheat | Prevention |\n|-------|------------|\n| Speed hack | Server validates movement |\n| Aimbot | Server validates sight line |\n| Item dupe | Server owns inventory |\n| Wall hack | Don't send hidden data |\n\n---\n\n## 5. Matchmaking\n\n### Considerations\n\n| Factor | Impact |\n|--------|--------|\n| **Skill** | Fair matches |\n| **Latency** | Playable connection |\n| **Wait time** | Player patience |\n| **Party size** | Group play |\n\n---\n\n## 6. Anti-Patterns\n\n| ❌ Don't | ✅ Do |\n|----------|-------|\n| Trust the client | Server is authority |\n| Send everything | Send only necessary |\n| Ignore latency | Design for 100-200ms |\n| Sync exact positions | Interpolate\u002Fpredict |\n\n---\n\n> **Remember:** Never trust the client. The server is the source of truth.\n","# Multiplayer Game Development\n\n> Networking architecture and synchronization principles.\n\n---\n\n## 1. Architecture Selection\n\n### Decision Tree\n\n```\nWhat type of multiplayer?\n│\n├── Competitive \u002F Real-time\n│   └── Dedicated Server (authoritative)\n│\n├── Cooperative \u002F Casual\n│   └── Host-based (one player is server)\n│\n├── Turn-based\n│   └── Client-server (simple)\n│\n└── Massive (MMO)\n    └── Distributed servers\n```\n\n### Comparison\n\n| Architecture | Latency | Cost | Security |\n|--------------|---------|------|----------|\n| **Dedicated** | Low | High | Strong |\n| **P2P** | Variable | Low | Weak |\n| **Host-based** | Medium | Low | Medium |\n\n---\n\n## 2. Synchronization Principles\n\n### State vs Input\n\n| Approach | Sync What | Best For |\n|----------|-----------|----------|\n| **State Sync** | Game state | Simple, few objects |\n| **Input Sync** | Player inputs | Action games |\n| **Hybrid** | Both | Most games |\n\n### Lag Compensation\n\n| Technique | Purpose |\n|-----------|---------|\n| **Prediction** | Client predicts server |\n| **Interpolation** | Smooth remote players |\n| **Reconciliation** | Fix mispredictions |\n| **Lag compensation** | Rewind for hit detection |\n\n---\n\n## 3. Network Optimization\n\n### Bandwidth Reduction\n\n| Technique | Savings |\n|-----------|---------|\n| **Delta compression** | Send only changes |\n| **Quantization** | Reduce precision |\n| **Priority** | Important data first |\n| **Area of interest** | Only nearby entities |\n\n### Update Rates\n\n| Type | Rate |\n|------|------|\n| Position | 20-60 Hz |\n| Health | On change |\n| Inventory | On change |\n| Chat | On send |\n\n---\n\n## 4. Security Principles\n\n### Server Authority\n\n```\nClient: \"I hit the enemy\"\nServer: Validate → did projectile actually hit?\n         → was player in valid state?\n         → was timing possible?\n```\n\n### Anti-Cheat\n\n| Cheat | Prevention |\n|-------|------------|\n| Speed hack | Server validates movement |\n| Aimbot | Server validates sight line |\n| Item dupe | Server owns inventory |\n| Wall hack | Don't send hidden data |\n\n---\n\n## 5. Matchmaking\n\n### Considerations\n\n| Factor | Impact |\n|--------|--------|\n| **Skill** | Fair matches |\n| **Latency** | Playable connection |\n| **Wait time** | Player patience |\n| **Party size** | Group play |\n\n---\n\n## 6. Anti-Patterns\n\n| ❌ Don't | ✅ Do |\n|----------|-------|\n| Trust the client | Server is authority |\n| Send everything | Send only necessary |\n| Ignore latency | Design for 100-200ms |\n| Sync exact positions | Interpolate\u002Fpredict |\n\n---\n\n> **Remember:** Never trust the client. The server is the source of truth.\n",{"name":5,"description":7,"allowed-tools":36},"Read, Write, Edit, Glob, Grep, Bash","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Fsickn33\u002Fgame-development\u002Fmultiplayer",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill multiplayer",{"tool":52,"command":53},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill multiplayer",{"tool":55,"command":56},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill multiplayer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fsickn33\u002Fgame-development\u002Fmultiplayer\u002FSKILL.md",true,[],[61,70,79,88,94,100],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":31},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[67,68,69],"model","model hierarchy","model hierarchy skill",{"skillNo":71,"name":72,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":31},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[76,77,78],"MCP","zoom","zoom mcp",{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":31},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[85,86,87,77],"sdk","zoom apps sdk","apps",{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":31},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[90],{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":31},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[96],{"skillNo":101,"name":102,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":31},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[102]]