[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M718RHA66GR8241P8V3YFWN6":3,"skill-same:01M718RHA66GR8241P8V3YFWN6":56},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":14,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M718RHA66GR8241P8V3YFWN6","multiplayer",null,"Multiplayer game development principles. Architecture, networking, synchronization.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fgame-development\u002Fmultiplayer\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29],"architecture","development","networking","game development","game","synchronization","community","principles","unknown","Game Development Principles","2026","2026-11-10 10:12:30",false,"---\nname: multiplayer\ndescription: \"Multiplayer game development principles. Architecture, networking, synchronization.\"\nrisk: unknown\nsource: community\ndate_added: \"2026-02-27\"\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\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\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\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n",{"name":5,"risk":27,"source":25,"date_added":35,"description":7},"2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fglobal\u002Fgame-development\u002Fmultiplayer","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill multiplayer",{"tool":48,"command":49},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill multiplayer",{"tool":51,"command":52},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill multiplayer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fgame-development\u002Fmultiplayer\u002FSKILL.md",true,[],[57,67,74,82,88,96],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":62,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":66},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":66},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":66},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":83,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":66},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":66},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":66},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]