yasuki_core.engine.rules.flow.submit#
- submit(game, response)[source]#
Answer the pending decision and resume the engine.
Dispatch on the request type to its apply-handler, then continue: an end-of-turn discard begins the next turn, while a cost payment drains the stack to finish the action that paused for it.
Raise
RuntimeErrorif no decision is pending, orValueErrorif the answer is malformed or illegal against the game state.