multiplayerapi / Demos

Multiplayer API demos · open two tabs

Pick a
game. Play.

Four live Multiplayer API demos using the same pipes. Each runs in the browser — no game server to launch.

room.set state room.send p2p both fps .io live

room.send + room.set

FPS

First-person view. Positions and shots are peer-to-peer; health and kills are server-arbitrated.

Enter arena →

room.send()

Arena

Real-time orbs. Server score — cheating rejected.

Play →

room.set()

Tic-tac-toe

Turn-based. Shared state, atomic moves.

Play →

.io · setnx

Slither

Grow, dodge, boost. P2P trajectory, server-arbitrated pellets.

Enter the pit →

Demo code also serves as integration tests. See the recipes behind each channel. · Legal · LanneTech UAE