Guides
Short, specific answers to the things people actually have to do, each one leading with the answer rather than working up to it. For the complete API, see the documentation.
How to sync player positions between browsers
Send your own position on a fixed tick, draw everyone else by moving toward their last known position, and movement looks smooth on an ordinary connection.
How to add a leaderboard to a JavaScript game
Add a persistent leaderboard to a browser game: submit a score, read the top of the board and the player's own rank, and make the scores trustworthy.
How to add multiplayer to a browser game
Add real-time multiplayer to an existing HTML or JavaScript game with one script tag: sync player positions, share room state, and handle joins and leaves.
How to make an .io game
What an .io game actually needs: a shared arena, many players in one room, fair rules and a leaderboard, and the shortest path to a playable one in the browser.
Make a multiplayer game with Claude Code
Connect Multiplayer Agent to Claude Code or any MCP-capable agent, then describe the game you want. The agent defines the room, writes the client and deploys server rules.