end_turn
End your turn to pass control to the opponent, automatically setting any units in READY or MOVED status to wait. Call exactly once per turn after issuing all move/attack/heal/wait commands. Returns an error if it is not your turn.
Instructions
Mutating. End your turn and pass control to the opponent. Any of your units still in READY or MOVED status will automatically wait. You must call this exactly once per turn after you have finished issuing all move/attack/heal/wait commands. The opponent's turn begins immediately after. Returns an error if it is not currently your turn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |