add-multiplayer

Scaffold PartyKit and Cloudflare Durable Objects multiplayer for browser games.

307|37|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/PlayableIntelligence/game-creator --skill add-multiplayer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-multiplayer
Source: https://github.com/PlayableIntelligence/game-creator/tree/main/skills/add-multiplayer
Command: npx skills add https://github.com/PlayableIntelligence/game-creator --skill add-multiplayer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables real-time or turn-based multiplayer in an existing browser game by scaffolding a PartyKit server and a client networking layer, while preserving offline single-player functionality.

Core Features & Use Cases

  • Scaffolds a PartyKit server (Cloudflare Durable Objects) and a client NetworkManager wired through the game’s EventBus and GameState
  • Adds additive edits to core game files (EventBus, GameState, Constants) and a minimal client/server API
  • Supports both real-time and turn-based multiplayer modes for Phaser 3 or Three.js projects
  • Provides a complete deployment workflow from local development to cloud deployment and URL generation

Quick Start

Run the skill from your project root to scaffold multiplayer server and client, wire the network manager, and deploy a playable URL.

Frequently Asked Questions about add-multiplayer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add real-time multiplayer to my browser game?

Adding real-time multiplayer to a browser game involves scaffolding a PartyKit server using Cloudflare Durable Objects alongside a client NetworkManager. This setup wires directly into your game's EventBus and GameState to synchronize players.

Can I add multiplayer to a Phaser 3 or Three.js game without losing offline functionality?

Yes, you can integrate multiplayer into Phaser 3 or Three.js projects while preserving offline single-player functionality. The system applies additive edits to core game files, ensuring the game remains playable when the server is unavailable.

What is PartyKit and how does it handle browser game networking?

PartyKit handles browser game networking by leveraging Cloudflare Durable Objects to maintain persistent server state. It provides a minimal client and server API that manages real-time connections and synchronizes your game's GameState across players.

How do I deploy a multiplayer browser game using Cloudflare Durable Objects?

Deploying a multiplayer browser game using Cloudflare Durable Objects involves a guided workflow that transitions from local development to cloud deployment. The process scaffolds the PartyKit server and generates a playable production URL.

Does adding a multiplayer server require rewriting my game's render flow?

No, adding a multiplayer server does not require rewriting your game's render flow. The integration applies additive wiring to connect a NetworkManager to your existing EventBus and render flow, preserving your original game architecture.