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:
- table
TableState The dealt board to play on.
- first_player
PlayerId The seat taking the first turn.
- seed
int, optional The master RNG seed for deterministic replay. Default 0.
- table