yasuki_core.engine.rules.flow.advance#
- advance(game)[source]#
Advance the active player’s turn to the next phase; past the Dynasty phase, run the end of the turn and begin the next. The gold pool empties on every phase change.
Pause instead of finishing the turn if the end-of-turn discard needs an answer: record the request on
game.pendingand return, leaving the caller tosubmit()a response before advancing again. RaiseRuntimeErrorif called while a decision is already pending.