본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)48k · #4689

multiplayer

하는 일

여러 사람이 온라인에서 함께 플레이할 수 있는 게임을 만드는 방법을 이해하도록 돕습니다. 플레이어를 연결하는 여러 방법과, 모든 플레이어에게 게임을 공정하게 유지하는 방법을 설명합니다.

사용하는 경우

  • ✓게임에서 플레이어를 연결하는 방법을 고를 때.
  • ✓모든 플레이어에게 각자의 행동이 보이도록 하는 방법을 정할 때.
  • ✓온라인 게임에서 부정행위를 막는 방법을 고민할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/game-development/multiplayer/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/game-development/multiplayer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“온라인 레이싱 게임을 만들려고 해요. 플레이어를 연결하는 가장 좋은 방법은 무엇인가요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 원하는 게임 유형을 분석하고 플레이어를 연결하는 가장 좋은 방법을 제안합니다. 또한 인터넷 지연이 있어도 각 플레이어의 행동이 모두에게 올바르게 보이도록 하는 방법을 설명합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Multiplayer Game Development

Networking architecture and synchronization principles.


1. Architecture Selection

Decision Tree

What type of multiplayer?
│
├── Competitive / Real-time
│   └── Dedicated Server (authoritative)
│
├── Cooperative / Casual
│   └── Host-based (one player is server)
│
├── Turn-based
│   └── Client-server (simple)
│
└── Massive (MMO)
    └── Distributed servers

Comparison

Architecture Latency Cost Security
Dedicated Region and load dependent Hosting dependent Can enforce server authority
P2P Topology dependent Relay costs may apply Peers require validation
Host-based Host location dependent Relay costs may apply Host remains a trust boundary

2. Synchronization Principles

State vs Input

Approach Sync What Best For
State Sync Game state Simple, few objects
Input Sync Player inputs Action games
Hybrid Both Most games

Lag Compensation

Technique Purpose
Prediction Client predicts server
Interpolation Smooth remote players
Reconciliation Fix mispredictions
Lag compensation Rewind for hit detection

3. Network Optimization

Bandwidth Reduction

Technique Savings
Delta compression Send only changes
Quantization Reduce precision
Priority Important data first
Area of interest Only nearby entities

Update Rates

Type Rate
Position 20-60 Hz
Health On change
Inventory On change
Chat On send

4. Security Principles

Server Authority

Client: "I hit the enemy"
Server: Validate → did projectile actually hit?
         → was player in valid state?
         → was timing possible?

Anti-Cheat

Cheat Prevention
Speed hack Server validates movement
Aimbot Validate legal shots; this alone does not detect automated aiming
Item dupe Server owns inventory
Wall hack Don't send hidden data

5. Matchmaking

Considerations

Factor Impact
Skill Fair matches
Latency Playable connection
Wait time Player patience
Party size Group play

6. Anti-Patterns

❌ Don't ✅ Do
Trust the client Server is authority
Send everything Send only necessary
Ignore latency Design for 100-200ms
Sync exact positions Interpolate/predict

Remember: Never trust the client. The server is the source of truth.

When to Use

Use when selecting multiplayer authority, synchronizing state, testing latency compensation, or preventing inventory duplication.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Verification

Treat tables as design starting points, not guarantees. Prototype the selected mechanic, test accessibility and recovery paths, and measure frame timing, memory and behavior on target hardware before claiming completion. Store submission and licensing requirements must be checked against current official platform documentation.

자주 묻는 질문

「전용 서버」란 무엇인가요?

게임을 제어하고 모든 것을 공정하게 보장하는 중앙 컴퓨터입니다. 주요 권한을 가진 주체 역할을 합니다.

「동기화」란 무엇인가요?

모든 플레이어가 같은 시간에 게임에서 일어나는 같은 일을 보도록 보장하는 과정입니다.

플레이어가 말하는 것을 왜 그대로 믿으면 안 되나요?

플레이어가 실제로 하지 않은 일을 했다고 말하며 부정행위를 할 수 있기 때문입니다. 서버는 모든 것을 확인해야 합니다.

상세 정보

작성자의 원본 설명

Multiplayer game development principles. Architecture, networking, synchronization.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4689
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬