Plaza is a set of building blocks for applications where many people change one piece of state at once: multiplayer games, collaborative editors, shared whiteboards, auctions. One controller owns the state and is the only thing that changes it. It applies one operation at a time, so your rules need no locks and there is only ever one version of the state.
Every change is an operation: a value that describes the change instead of a direct write. That means the server can validate, reject, broadcast, log and replay it. The client can predict it before the server confirms it. Each client's snapshot is built for that client, so a card game that shows every player their own hand and only the count of everyone else's is the normal case.
Your rules are one method. The controller hands it the state and one input at a time and it returns the ops to send and who gets them. This is the counter from the first tutorial:
;
Plaza is split into seven crates and you use the ones you need:
| Crate | What it holds |
|---|---|
plaza | The controller loop, the traits you implement, the in-process session and optional schedulers, turn and phase modules. |
plaza_session | Real transports: actix-web WebSockets and length-delimited TCP, admission by credential, per-connection rate limits and the listen-server HTTP layer. |
plaza_lobby | Rooms on one server: create, list, join, reap, quick match and travel between rooms. |
plaza_wire | The codec trait and message envelope a server and its clients share, plus a protocol version generated from your types. |
plaza_client_utils | Prediction, reconciliation, interpolation, correction smoothing, fixed timesteps and rollback. No async runtime, so it suits wasm and engine plugins. |
plaza_server_utils | Lag compensation, relevance streaming, delta baselines, aggregation and seat allocation. Also runtime-free. |
plaza_ws | The client-side socket: one interface over desktop, browser and in-process. |
The plaza guide on GitHub explains how the pieces fit together and why they are shaped the way they are, in fifteen short chapters and an appendix that lists every block. The examples run from a two-client shared counter up to a listen-server with thousands of entities.
Plaza is experimental. The API changes often while the design settles and it has no production users yet.
