multiplayer
Installation
SKILL.md
Vibedgames Multiplayer
Add real-time multiplayer to any browser game with @vibedgames/multiplayer.
Install
npm install @vibedgames/multiplayer
Two entry points
@vibedgames/multiplayer— framework-agnosticMultiplayerClientclass (Phaser, Three.js, vanilla JS)@vibedgames/multiplayer/react— React hooks wrapping the client
Party host
Every example assumes this constant. Define it once — in a real game it lives in net/client.ts (see references/architecture.md) — and import it; never repeat the literal per call site: