Skip to content
HALOWERK

Game Development Tools

board hex connection witness

Return a shortest edge-to-edge Hex connection witness for the supplied player and board.

POST https://gaming.halowerk.com/v1/board-hex-connection-witness

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
boardarrayYes
playerSee schemaYes
Show full input schema
{
  "type": "object",
  "properties": {
    "board": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 12,
        "minLength": 1
      },
      "maxItems": 12,
      "minItems": 1
    },
    "player": {
      "enum": [
        "X",
        "O"
      ]
    }
  },
  "required": [
    "board",
    "player"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "board": [
    "X..",
    ".X.",
    "..X"
  ],
  "player": "X"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub โ†’