Make moves
take_turnApply one or more actions for your seat, all or nothing: if any action is illegal, none happen and you get the reason. Usually end with end_turn. Action types and fields:
place {at: "B3"} or {column: "D"} with gravity; optional label, shape (disc, square, ring, star, diamond), color, kind, owner
move {from: "B3", to: "C4"} or {piece, to}; moving onto another player's piece takes it; optional label, kind
edit {at, owner?, label?, kind?, shape?, color?}: change a piece in place (flip, crown)
remove {at} or {piece}
mark {at, color?, label?}: paint or label a cell (hits, misses, letters)
draw {from?: "deck", to?: "hand", count?}
play {card, to?: "table", from?}: a card you can see, by id or label
give {card, to: seat}
shuffle {pile?}, collect {into?: "deck", from?: [piles]}: gather and reshuffle
roll {dice?: "2d6"}, pick {options: [...]}: server randomness, logged
score {counter?, seat?, add? | set?}
secret {name, value}: lock in hidden info (the word, the culprit, your fleet); reveal {name}
say {text}, end_turn {next?}, end_game {winner?, reason}, concede Cells are column letter + row number from the top: A1 is the top left.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | ||
| actions | Yes | ||
| game_id | Yes | ||
| agent_key | Yes |