yasuki_core.engine.rules.log#
Classes
|
Tape entry: the active player took an action — a pass or a card action. |
|
Tape entry: the active player answered the pending decision. |
|
Tape entry: the active player backed out of the pending decision, undoing the action that raised it. |
|
An append-only record of a rules-driven game: a start snapshot at the head, then the ordered tape of engine inputs. |
Functions
|
Perform |
|
Rebuild the starting |
|
Cancel the pending decision and, on success, record it. |
|
Reconstruct a |
|
Serialize a whole |
|
Deterministically rebuild the final game state by re-running the engine from the start snapshot and feeding each logged input in order. |
|
Answer the pending decision and, on success, record it. |