Skip to main content
Create your client with the function you use throughout your frontend:
Start the local server, frontend, and developer shell from the project root:

Options

The developer shell owns the match. Its setup form takes the number of seats, the RNG seed, and your game’s setup input, and starting the match initializes the in-memory session. The shell then frames your page and passes the seat to it, so both options above apply when you open your frontend’s own dev server URL directly. Use the shell’s control strip to switch seats, Reset for a fresh match with the same parameters, and Exit game to return to the setup form.

Wait for the connection

Calls to execute, discover, or getAvailableCommands reject with a TransportError if the client is not ready.

Use a different port

Start the server with --port and pass the same base URL to the client:
Tableverse supplies the session URL, player identity, roster, seed, and setup input for published games. These options configure your local session.

Render state changes

Subscribe and update your interface.