# Pattern Matrix Puzzle Generator > Generate a 3 × 3 figure-matrix puzzle with 8 options and a checked, unique answer. Builds a 3 × 3 matrix of figures whose last cell is missing, in the style of progressive-matrix puzzles: shape, number, fill and size follow rules along the rows (constant, step-by-step progression or each value once per row). Eight answer options are generated and the puzzle is only returned when an independent check finds exactly one option that fits every reading of the rules. Returns the puzzle as SVG, the answer, and the rules in plain words. These are practice puzzles, not an intelligence test. Part of usefulweb.site (https://usefulweb.site/). Part of [Mindquarry](https://mindquarry.usefulweb.site/) (ownerApp: mindquarry). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://mindquarrymatrixpuzzle.usefulweb.site/ (interactive tool at https://mindquarrymatrixpuzzle.usefulweb.site/tool) - JSON API: POST https://mindquarrymatrixpuzzle.usefulweb.site/api/v1/calculate with a JSON object of inputs (schema: https://mindquarrymatrixpuzzle.usefulweb.site/api/v1/tool) - OpenAPI: https://mindquarrymatrixpuzzle.usefulweb.site/openapi.json - MCP (Streamable HTTP): https://mindquarrymatrixpuzzle.usefulweb.site/mcp - tool `mindquarry_matrix_puzzle` ## Inputs - level (integer): Difficulty (1–10) - Higher levels vary more attributes at once and use the “each value once per row” rule. - seed (text): Seed (same seed = same puzzle) - showAnswer (boolean): Mark the answer in the picture ## Method - Attributes: shape (circle, square, triangle), number (1–3), fill (outline, striped, solid) and size (small, medium, large). Level 1–2 vary one attribute, 3–4 two, 5–7 three, 8–10 all four; “each value once per row” (a Latin square) appears from level 2 (alone) and from level 4. - Rules per attribute: the same within each row (rows may differ), a progression by one step from left to right, or each of the three values once per row. Attributes that do not vary are the same in every cell. - Uniqueness check: for every attribute, each reading that fits the 8 visible cells — constant, progression with steps −2 … +2 or each value once, read along rows AND along columns — predicts the missing value; all readings must agree. Exactly one of the 8 distinct options may match the prediction; otherwise the puzzle is rebuilt. - Wrong options change one (later two) attributes of the right answer, mostly attributes that vary, so they cannot be spotted by ignoring the pattern. ## Limits - Practice puzzles only: they are not a validated test and give no IQ or ability score. Practising these tasks makes you better at these tasks; it does not prove that memory, intelligence or everyday life improve.