Formal Specification
Māori String Figures — Formal Specification
New Zealand · string-figure · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: abstractedGap-fills: 3
# Whai — AI-optimized specification
## General idea
A string-figure tradition scored on complexity and elegance. The construction of a figure is a deterministic sequence of loop operations and is entirely computable; the *judging* — which is the competitive part — is aesthetic and has no attested criterion. That split is why this is marked non-simulable.
## Formal model
- **Abstraction taken:** a figure is a sequence of named loop operations on a string held across fingers, teeth and feet. The operations are exact; nothing is stochastic.
- **Player/agent count:** one or more, competing by comparison rather than interaction.
- **Turn model:** not turn-based. Each maker works independently.
## Formal rules
R1. A player holds a closed loop of flax string across the hands.
R2. A figure is produced by an ordered sequence of loop operations — passing loops between fingers, and for some figures using teeth and feet as additional anchor points.
R3. Each named figure has an associated chant performed with it.
R4. Players are compared on the complexity of the figure produced and the elegance of its production.
R5. [gap-fill] Complexity is representable as the number of operations in the sequence and the number of anchor points used. Elegance has no computable proxy and none is proposed.
R6. [gap-fill] There is no attested judging procedure, so no winner can be computed. The entry records this explicitly.
R7. [gap-fill] There is no attested required order or sequence of figures.
## Edge cases
- **Tie at the end condition:** not resolvable. With no attested judging criterion (R6), two figures cannot be ranked by any rule the sources supply. Declaring a tie-break would be invention.
- **Player with no legal move:** a maker who cannot recall the next operation simply fails to complete the figure; there is no opponent and no penalty state.
- **Repetition / cycles:** a loop operation sequence can revisit an earlier configuration, and skilled play sometimes deliberately returns to a base position. This is a feature of the craft, not a defect requiring a loop-breaking rule.
- **Simultaneous claims:** not applicable. Makers do not share a resource; each has their own loop.
- **Mid-round elimination and turn-order repair:** not applicable. There is no elimination and no turn order.
- **Resource exhaustion:** nothing is consumed. The string loop is conserved by every operation.
- **Termination guarantee:** each figure is a finite operation sequence and terminates when complete. A *contest* has no attested end condition.
## State representation
Persistent: the figure catalogue — each figure a named operation sequence with its chant.
Per-player: current string configuration as a set of loops with their anchor points (fingers, thumbs, teeth, feet), position in the current sequence.
Per-turn ephemeral: the operation being applied.
Information set: fully observable. Whai conceals nothing; difficulty is in memory and dexterity.
## Action space
- `apply(operation, from_anchor, to_anchor)` — precondition: the source anchor holds a loop.
- `begin_figure(name)` — precondition: string is in the base configuration.
## Playability notes
- **Single-player-vs-AI:** unsuitable as a contest, because there is no computable objective. It is well suited to a *constructive* treatment: given a target figure, find or verify the operation sequence. That is a real and tractable problem.
- **Group games (n>2):** makers are independent, so n reduces to 1 with no loss of structure.
- **Physical-skill model:** none is appropriate. The operations are exact; the skill is memory and manual precision, neither of which is a decision.
- **What is lost:** the reason it is played. Whai was *He whare wānanga* — a house of learning — and the patterns encode histories and mythical allusions, with each figure's chant part of the figure. A spec models the topology of the string and discards the entire content. Scoring it on operation count would be a category error, and that is why R5 stops short.
## Implementation hints
If you build anything here, build a string-figure calculus — loops, anchors, and the transfer operations — and use it to verify or generate figure sequences. That is genuinely useful and well-defined. Do not build a scorer: the tradition supplies no criterion, and any you invent will be yours, not Māori.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Māori String Figures (New Zealand). (n.d.). Games of Countries. https://gamesofcountries.com/games/nz-new-zealand/whai
@misc{gamesofcountries-nz-new-zealand-whai,
title = {Māori String Figures (New Zealand)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/nz-new-zealand/whai}
}