Gomoku (Five in a Row)
gomokuGomoku (five in a row) board game. This tool provides the board, move validation and win detection; the opponent moves are made by the host application's own AI. Inputs: moves (comma-separated coordinates in play order, black first, e.g. "H8,H9,I9"), humanColor ("black" or "white", default "black") and size (board size, default 15). Returns the board state, whose turn it is, and the winner if the game has ended. Use this when a user wants to play five-in-a-row against the assistant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Board size (9-19). | |
| moves | No | Comma-separated coordinates in play order (black first), e.g. "H8,H9,I9". | |
| locale | No | UI language for the rendered card. | en |
| humanColor | No | Which color the human plays. | black |