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 with Claude Code
Build a Slither.io style .io game with Claude Code one prompt at a time, from a playable first build with bots to guns, roguelike pickups and hosted multiplayer on Multiplayer Agent, with the video, the prompts and the free repo.
Make a multiplayer game with Claude Code
Connect Multiplayer Agent to Claude Code with one command, no account needed, then describe the game you want. The agent defines the room, writes the client and hosts it at a share link.
How to make a retro FPS with Claude Code
Build a Doom style first person shooter with Claude Code from one sentence: sprites, art from ChatGPT through Codex, bots, a deathmatch, a bug fixed from a gameplay recording, then multiplayer on Multiplayer Agent, with the video and the free repo.