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

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.