Formal Specification
Pulling the Knots (Knotted String Lot Drawing) — Formal Specification
Jersey · dice-lots · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 1
# Haler ès Noeuds — AI-optimized specification
## General idea
A discrete sequential lot-drawing game equivalent to sampling from a hidden urn without replacement. A set of identical-looking string ends conceals knotted strings. Agents draw sequentially; drawing a knotted string triggers an immediate negative payoff (penalty / forfeit assignment) or positive role assignment.
## Formal model
- **Abstraction taken:** Physical hand grip and cord extraction are modeled directly as a discrete drawing without replacement from a shuffled vector of boolean/integer values.
- **Player/agent count:** agents, indexed .
- **Turn model:** Strictly sequential order: agent draws at step .
## Formal rules
R1. Setup:
- Given agents and knotted strings (, default ).
- An array of length is created: elements are `TRUE` (knotted), and elements are `FALSE` (unknotted).
- is shuffled under a uniform random permutation: .
- An available string pool is indexed .
R2. Drawing Order:
- Agents draw in sequential order .
R3. Action:
- On turn , agent selects an available index .
- String state is revealed publicly and removed from .
R4. Outcome Assignment:
- If : Agent receives the penalty flag (`LOSER` / `FORFEIT_DUE`).
- If : Agent is marked `SAFE`.
R5. Game Termination:
- The round terminates immediately once all knotted strings have been drawn, or when all agents have drawn.
R6. [gap-fill] Multi-Round Elimination Mode: Over successive rounds, agents who draw knots accumulate penalty points. The agent with the fewest penalty points after rounds wins.
## Edge cases
- Tie at the end condition: In multi-round mode, if two agents have equal penalty points, a 1v1 sudden-death draw (1 knot in 2 strings) breaks the tie.
- A player with no legal move: Not applicable; as long as the round is active, , ensuring a legal draw action.
- Repetition / cycles (and the loop-breaking rule): Not applicable; each step consumes exactly one string, strictly decreasing by 1.
- Simultaneous claims on the same resource or position: Not applicable; turns are strictly sequential.
- Player elimination mid-round; turn order repair: If an agent is eliminated or leaves, their index is skipped and string pool shrinks by 1.
- Resource exhaustion (pieces, tokens, space, time): Resource is finite ( strings) and strictly exhausted after at most draws.
- Termination guarantee: Provably terminates in at most steps since decreases monotonically.
## State representation
- Persistent state:
- `round`: Integer .
- `penalties`: Array of size recording accumulated penalty counts.
- Ephemeral state (per round):
- `strings`: Permuted boolean array of size .
- `available_indices`: Set of remaining unpicked indices .
- `current_drawer`: Agent index .
- `knots_remaining`: Integer .
- Observable information:
- Hidden: The mapping from available string index to boolean knot status is hidden from all agents prior to drawing.
- Public: The history of past draws, identity of drawers, and outcomes are fully observable.
## Action space
- `draw_string(index)`: Parameter .
## Playability notes
- Single-player-vs-AI: Natural; 1 human vs AI agents. Since all unpicked strings are identical under the uniform prior, the expected value is identical for all available indices: .
- Group games (n>4): Naturally supports any group size .
- Physical-skill games: Purely chance-driven discrete decision; no physical dexterity required.
- What is lost in the adaptation: The tactile feel of string tension, visual alignment of cord ends, and social banter during the draw.
## Implementation hints
- Trivial complexity: 1D array shuffling (`random.shuffle`) and index popping.
- Useful as a reusable utility sub-module for starting-player selection in other traditional game simulations.
- First milestone: Implement single-round 4-player knot drawing and verify hypergeometric probability distributions across sequential draw positions.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Pulling the Knots (Knotted String Lot Drawing) (Jersey). (n.d.). Games of Countries. https://gamesofcountries.com/games/je-jersey/haler-es-noeuds
@misc{gamesofcountries-je-jersey-haler-es-noeuds,
title = {Pulling the Knots (Knotted String Lot Drawing) (Jersey)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/je-jersey/haler-es-noeuds}
}