Introduction
irtio adds multiplayer to web games. Define shared state in TypeScript, join a room, and read it from your game’s render loop. Players write the state they own; your server code controls game rules, scores, and permissions.
Your game keeps its renderer and build setup. irtio handles state synchronization, room connections, reconnection, and hosting.
Start with the quickstart to build a shared cursor canvas. It includes the browser page and takes you from an empty directory to two tabs in one room.
Build on that foundation
- Add server validation and typed RPCs for game rules.
- Use physics, voice chat, and matchmaking as your game needs them.
- Keep progress with player storage, then deploy your room.
For an existing project, choose an engine integration or add multiplayer to your game. The API reference lists the configuration and methods available to you.