Skip to content
HALOWERK

Game Development Tools

board nqueens completion count

Return exact nonattacking queen completion count with supplied fixed and forbidden squares.

POST https://gaming.halowerk.com/v1/board-nqueens-completion-count

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
sizeintegerYes
fixedarrayYes
blockedarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 11
    },
    "fixed": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 11
        },
        "maxItems": 2,
        "minItems": 2
      },
      "maxItems": 144,
      "minItems": 0
    },
    "blocked": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 11
        },
        "maxItems": 2,
        "minItems": 2
      },
      "maxItems": 144,
      "minItems": 0
    }
  },
  "required": [
    "size",
    "fixed",
    "blocked"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "size": 4,
  "fixed": [],
  "blocked": []
}

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 โ†’