Add Multiplayer

Add real-time or turn-based multiplayer to an existing browser game using PartyKit (Cloudflare Durable Objects). Scaffolds a room-based server, a NetworkManager client, EventBus events, GameState fields, Constants, and extends render_game_to_text(). Use when the user says "add multiplayer", "make this multiplayer", "add real-time co-op", "add online play", "scaffold multiplayer", or "add netcode". Do NOT use for solo leaderboards (use monetize-game), single-player AI opponents (use add-feature), or peer-to-peer/WebRTC games.

playableintelligence 586e835 5 files · 84.0 KB Updated

File contents

playableintelligence/game-creator/tree/main/skills/add-multiplayer commit 586e835682

Frequently asked questions

npx skillmds@latest add playableintelligence/add-multiplayer