Skip to content

LeedleBuild Multiplayer Party Games

Create real-time multiplayer games that run on any device. No app download required.

Quick Start

bash
# Scaffold a new game
npx create-leedle-game my-game

# Start the dev server with demo harness
cd my-game
npm install
npm run dev

The demo harness opens at http://localhost:3001/demo with side-by-side player panels for testing multiplayer interactions.

How It Works

Every Leedle game uses a host/client model. One player runs the game logic, all others send actions and receive state updates in real time.

Player A --sendAction-->  Host  --state update-->  Player A
Player B --sendAction-->        --state update-->  Player B
Player C --sendAction-->        --state update-->  Player C

The SDK provides React hooks for the entire lifecycle: useGameState, useActions, useTimers, usePlayers, and more. Your game is a standard React app -- just add multiplayer.

Read the full architecture guide

Released under the MIT License.