askill
multiplayer-building

multiplayer-buildingSafety 90Repository

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.

6 stars
1.2k downloads
Updated 2/5/2026

Package Files

Loading files...
SKILL.md

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

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

52/100Analyzed 2/20/2026

A moderately useful technical reference for multiplayer building systems with basic code examples and architecture explanation. The skill is well-organized but thin on actual content - missing detailed implementation steps, dependency info, and the referenced external documentation may not exist. Score penalized for brevity (R4) but gains bonus for structured steps (R5) and skills folder location (R10).

90
70
55
50
45

Metadata

Licenseunknown
Version-
Updated2/5/2026
PublisherBbeierle12

Tags

No tags yet.