What is Playroom Kit?

Playroom Kit simplifies the development of real-time web-based multiplayer games by offering seamless synchronization and state management features. With its convenient integration capabilities, you can effortlessly incorporate the kit into popular game engines and libraries, transforming any game into a multiplayer experience.

We believe that gaming is more enjoyable when shared with friends, whether they are online, nearby, connected through Discord, part of a Twitch community, or even gathered with family at home. With Playroom Kit, you have the flexibility to create your game to suit any multiplayer scenario.


Great for Web Games

Use Playroom Kit to make web-based games. We officially support the following engines:

What's the API like?

Playroom Kit provides a simple API to set or get the state of the game room. The state is automatically synced between all players and screens.

import { getState, setState } from 'playroomkit'
 
// Set some game state, this will be synced to all players
setState("timeRemaining", 60);
// ...
 
// One some other device: Get the time remaining
const time = getState("timeRemaining");

Playroom also takes care of player and room management. You just need to call insertCoin() somewhere in your game to show the lobby UI.

import { insertCoin } from 'playroomkit'
 
// Show the lobby UI
await insertCoin();
 
// Handle players joining the game
onPlayerJoin((player) => {
  console.log(`${player.getProfile().name} joined the game`);
});

See the API Reference for more details.