position_id
Convert any backgammon board format to its 14-character GNUBG Position ID. Specify the player on roll when using a board state dict.
Instructions
Convert a board to its 14-character GNUBG Position ID.
Args: board_input: Board in any supported format (boardState dict, Position ID string, or 2x25 list). player: Who is on roll ("x" or "o"). Required if board_input is a boardState dict.
Returns: Dict with the position ID string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player | No | ||
| board_input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||