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-agnostic MultiplayerClient class (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:

Installs
2
First Seen
Sep 28, 2026