About
Add multiplayer to your web game.
Jazaix is a game server and SDK. You write the game in JavaScript or React; we run the rooms, matchmaking and networking.
Get started
$ npm install @jazaix/jx-sdk
$ jx login
$ jx init # writes jx.config.js
$ jx deploy # your game is live
Connect
import { createJxClient } from '@jazaix/jx-sdk';
const jx = createJxClient({ schema }); // engine + key from jx.config.js
await jx.connect({ name: 'Alice', roomId: 'arena-1' });
jx.on('player:joined', (e) => spawn(e.playerId));
jx.sendInput(bytes); // fast, unreliable
jx.sendReliable(bytes); // ordered, guaranteed
What you get
- Rooms + matchmaking. Play drops players into a room with space; full rooms open a new one.
- Server-authoritative. A Rust engine owns the state, so clients can't cheat it.
- Your game loop on the server. Clocks, pickups and rules run in a remote script, one per room.
- React bindings. @jazaix/jx-sdk-react: synced physics, chat, player list, HUD.
Stack
- Engine
- Rust
- Transport
- WebTransport · QUIC
- Tick
- 40 Hz
- SDK
- JS · React