Skip to content
HALOWERK

Game Development Tools

board sliding puzzle solvability

Return the permutation parity and solvability of a supplied sliding puzzle against the canonical goal.

POST https://gaming.halowerk.com/v1/board-sliding-puzzle-solvability

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
widthintegerYes
heightintegerYes
tilesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "width": {
      "type": "integer",
      "minimum": 2,
      "maximum": 4
    },
    "height": {
      "type": "integer",
      "minimum": 2,
      "maximum": 4
    },
    "tiles": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 15
      },
      "maxItems": 16,
      "minItems": 4
    }
  },
  "required": [
    "width",
    "height",
    "tiles"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "width": 3,
  "height": 3,
  "tiles": [
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    0
  ]
}

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