key_of_board
Convert any backgammon board into its GNUBG position key string. Get a unique key for position analysis.
Instructions
Convert a board to its GNUBG position key string.
Args: board_input: Board in any supported format. player: Who is on roll ("x" or "o"). Required if board_input is a boardState dict.
Returns: Dict with the position key string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player | No | ||
| board_input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||