get_state
Fetch the current board, legal moves, and move history for a game ID to help an AI plan its next board game move.
Instructions
Show the board as you see it, your legal moves and what has happened so far.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game_id | Yes | Id returned by new_game. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | ||
| board | Yes | The board as you see it. | |
| notes | Yes | Facts about the position you are allowed to know. | |
| status | Yes | ||
| game_id | Yes | ||
| history | Yes | Everything that has happened, as you saw it. | |
| you_are | Yes | Your player number. Player 1 moves first. | |
| opponent | Yes | ||
| legal_moves | Yes | Moves you can play now. Empty when the game is over. |