Formal Specification
Maltese Five Stones (Knucklebones) — Formal Specification
Malta · dexterity-small · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Il-Kudi — AI-optimized specification
## General idea
A sequential 6-stage manual dexterity game where agents toss one token into the air, perform discrete scoop pickups of 1, 2, 3, 4 tokens from the ground, and catch the falling token before it strikes the ground. Failing a scoop or catch transfers the turn immediately.
## Formal model
- **Abstraction taken:** The 3D ballistic toss and manual finger scoop motions are abstracted into a discrete sequence of required scoop subsets `Subset(1), Subset(2), Subset(3), Subset(4), HandBack, Arch` tested against stochastic dexterity probabilities parameterized by agent hand-eye skill and stage difficulty.
- **Player/agent count:** 2 to 5 players.
- **Turn model:** Strictly sequential turn rotation.
## Formal rules
R1. Setup: Each player `i` starts with progression stage `stage[i] = 1` (where stages range from 1 to 6).
R2. On player `i`'s turn:
R2.1. Active stage `S = stage[i]`.
R2.2. The agent attempts the required scoop sequence for stage `S`:
- Stage 1: 4 scoops of 1 token each.
- Stage 2: 2 scoops of 2 tokens each.
- Stage 3: 1 scoop of 3 tokens, 1 scoop of 1 token.
- Stage 4: 1 scoop of 4 tokens.
- Stage 5: Back-of-hand flip catch.
- Stage 6: Arch flick and catch.
R2.3. On each toss-and-scoop attempt, success probability is sampled: `P(success | S, skill) = exp(-alpha * S) * f(skill)`.
R2.4. If all required scoops for stage `S` succeed: `stage[i]` increments by 1 (`stage[i] += 1`), and player `i` immediately attempts stage `S + 1` (up to 2 consecutive stage completions per turn).
R2.5. If any scoop or catch fails: Turn ends immediately. Player `i`'s progress remains at `stage[i]`.
R3. Win condition: The first player to successfully complete `stage[i] == 6` wins the game immediately.
R4. [gap-fill] Turn timeout: If 50 full turn rotations pass without a winner, the player with the highest stage progress wins.
## Edge cases
- Tie at the end condition: Not applicable — turns are sequential; first to complete stage 6 wins instantly.
- A player with no legal move: Not applicable — attempting the active stage is always available.
- Repetition / cycles: Bounded because `stage[i]` is monotonically non-decreasing and R4 provides a watchdog cap.
- Simultaneous claims on the same resource or position: Not applicable — 1 active player manipulating stones at a time.
- Player elimination mid-round: Disconnection removes the player; remaining players retain their stage progress.
- Resource exhaustion: Not applicable — 5 stones reset every turn.
- Termination guarantee: Guaranteed by positive success probability `P(success) > 0` on every attempt and monotonic stage advancement.
## State representation
- Persistent state: `stage` (array of ints 1..6 indexed by player_id), `current_player_idx` (int 0..N-1).
- Per-turn ephemeral state: `attempts_this_turn` (int 0..2), `current_sub_scoop` (int).
- Observable information: Fully observable by all players.
## Action space
- `execute_stage_action(stage_id, timing_calibration)`: Submit execution parameters for the active stage.
## Playability notes
- Single-player-vs-AI: Natural — a solitaire dexterity race comparing turns-to-finish against AI benchmarks.
- Group games (n>4): Sequential turn rotation handles any player count cleanly.
- Physical-skill games: High-speed hand reflexes and pebble grip abstracted into parameterized success curves.
- What is lost: The smooth, tactile feel of limestone pebbles polished by Mediterranean waves.
## Implementation hints
6-state hierarchical finite state machine. First milestone: Verify that failing stage 3 preserves `stage = 3` for the next turn rotation.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Maltese Five Stones (Knucklebones) (Malta). (n.d.). Games of Countries. https://gamesofcountries.com/games/mt-malta/il-kudi
@misc{gamesofcountries-mt-malta-il-kudi,
title = {Maltese Five Stones (Knucklebones) (Malta)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/mt-malta/il-kudi}
}