yasuki_core.engine.session.EngineSession.start#

classmethod EngineSession.start(table, first_player, *, seed=0)[source]#

Open a session on a dealt table. Snapshot the table into a fresh log, then build the live game from that snapshot so the log replays to it exactly.

Parameters:
tableTableState

The dealt board to play on.

first_playerPlayerId

The seat taking the first turn.

seedint, optional

The master RNG seed for deterministic replay. Default 0.