スキル一覧に戻る
Bbeierle12

multiplayer-building

by Bbeierle12

3🍴 0📅 2026年1月9日
GitHubで見るManusで実行

SKILL.md


name: multiplayer-building description: Networking systems for multiplayer building games. Use when implementing networked construction, delta synchronization, client prediction, or conflict resolution. Server-authoritative model with optimistic client prediction for responsive gameplay.

Multiplayer Building

Networking layer for multiplayer building games.

Quick Start

import { BuildingNetworkServer, BuildingNetworkClient } from './scripts/building-network-manager.js';

// Server
const server = new BuildingNetworkServer(buildingSystem, {
  tickRate: 20,
  conflictStrategy: 'first_write'
});
server.start();

// Client
const client = new BuildingNetworkClient(buildingSystem);
client.connect('ws://server:8080');
const localPiece = client.placeRequest('wall', position, rotation);

Reference

See references/multiplayer-networking.md for:

  • Authority model comparison
  • Delta compression strategy
  • Conflict resolution approaches
  • Large structure synchronization

Scripts

  • scripts/delta-compression.js - Only sync changed state (Source engine pattern)
  • scripts/client-prediction.js - Optimistic placement with rollback
  • scripts/conflict-resolver.js - Handle simultaneous builds (first-write, timestamp, lock-based)
  • scripts/building-network-manager.js - Complete server/client system

Architecture

Server-authoritative with client prediction:

  1. Client predicts placement locally (ghost piece)
  2. Server validates and confirms/rejects
  3. Client reconciles with server state
  4. Delta compression syncs only changes

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です