Formal Specification
Flint Stones (Ukrainian Knucklebones & Pebble Tossing) — Formal Specification
Ukraine · dexterity-small · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Kremyashky (Крем'яшки) — AI-optimized specification
## General idea
A traditional Ukrainian manual dexterity and knucklebones game (*Kremyashky* or *Flint Stones*). Players take turns tossing a "Mother" stone (*матка*) airborne and scooping up resting stones in six mandatory sequential figures (singles, pairs, triples, quads, through finger arches / *ворота*, and the final back-of-hand snatch / *гніздечко*) without dropping the airborne stone or disturbing unselected pebbles.
## Formal model
- **Abstraction taken:** Discretized 2D table-surface coordinate space () coupled with a 1D vertical ballistic toss timer (). Hand action execution operates within the air-time window, evaluating grasp proximity and neighbor disturbance radii ().
- **Player/agent count:** 2 to 6 individual players.
- **Turn model:** Sequential individual attempts cycling through 6 stages until a foul occurs.
## Formal rules
R1. Setup & Determination of First Player (*На кулачок*):
- Surface initialized within meters.
- Turn order determined by initial back-of-hand catch test: highest count goes first.
- Each player tracks: `current_stage = 1` (Stages 1..6), `score = 0`. Target victory: points [gap-fill].
R2. Stone Scatter & Mother Designation:
- Active player scatters 5 stones: coordinates .
- Player designates one stone as Mother stone .
R3. The Six Sequential Stages:
- **Stage 1 — Одинаки (Singles):** 4 iterations. On each: toss to height (), scoop 1 resting stone , and catch falling .
- **Stage 2 — Двійки (Pairs):** 2 iterations. On each: toss , scoop a chosen pair in a single sweep, and catch .
- **Stage 3 — Трійки (Triples):** 2 iterations. First toss: scoop 3 stones together and catch ; second toss: scoop the remaining 1 stone and catch .
- **Stage 4 — Четвірки (Quads):** 1 iteration. Gather 4 stones into cluster; toss , scoop all 4 stones in one sweep, and catch .
- **Stage 5 — Ворота (The Gates):** Non-tossing hand forms a finger bridge with thumb and middle finger. 4 iterations: toss , flick 1 resting stone under the bridge, and catch .
- **Stage 6 — Гніздечко / Лови (The Nest / Scoring Snatch):** Toss all 5 stones upward, catch stones on the back of the hand, toss airborne from the back of the hand, and snatch stones with a downward palm clasp.
R4. Scoring:
- Completing Stage 6 awards points (`score[Player] += 10 * k2`).
- Player resets to `current_stage = 1` to begin another cycle.
R5. Fouls & Turn Turnover (*Скис / Сгорів*):
- A foul occurs if:
1. Mother stone is dropped (not caught before table impact).
2. Neighbor disturbance: An unselected stone is touched or nudged () during a scoop.
3. Incorrect stone count is picked up during a scoop.
- Upon a foul, active player's turn ends immediately. Player retains `current_stage` and resumes from that exact stage on their next turn.
R6. Match Victory:
- The first player to reach points wins the match.
## Edge cases
- Tie at the end condition: If multiple players reach target score in the same round, a sudden-death Stage 6 snatch showdown breaks the tie [gap-fill].
- A player with no legal move: Not applicable; players execute stage-specific manual actions.
- Repetition / cycles: Stage progress (1 6) and non-negative scoring monotonically advance players toward victory.
- Simultaneous claims on the same resource: Turn-based sequential execution; no contested simultaneous actions.
- Elimination mid-round and turn-order repair: Players are not eliminated; turn order rotates clockwise.
- Resource exhaustion: Exactly 5 stones used throughout the entire match.
- Termination guarantee: Because each turn attempt has non-zero probability of successful stage progression, the Markov chain over stage states guarantees termination at 50 points.
## State representation
- Persistent state:
- `player_scores`: Map of Player ID integer.
- `player_stages`: Map of Player ID integer .
- `active_player_idx`: Integer.
- Ephemeral per-turn state:
- `stone_positions`: Array of 5 coordinates .
- `mother_idx`: Integer .
- `toss_apex_height`: Float meters.
- `air_time_remaining`: Float seconds.
- `stones_in_hand`: Set of stone IDs.
- `gate_anchor_pos`: Coordinate .
- Observable information: Fully observable stone coordinates, stage level, and player scoreboard.
## Action space
- `scatter_stones()`: Initial turn stone drop.
- `designate_mother(stone_idx)`: Select Mother pebble.
- `toss_mother(height)`: Vertical launch action.
- `scoop_stones(target_indices)`: Hand sweep targeting specific stones.
- `flick_through_gate(target_idx)`: Stage 5 bridge flick.
- `back_hand_snatch()`: Stage 6 scoring catch.
## Playability notes
- Single-player-vs-AI: Exceptional dexterity and risk-reward simulation. Players assess scatter geometry, picking clusters with wide clearance to avoid neighbor fouls while timing rapid scoops within short ballistic flight windows.
- Group reduction: Reducible to 2 players.
- Physical-skill games: Parabolic gravity flight (), hand grasp span limits (), and stone cluster collision tolerances are modeled with spatial mechanics.
- What is lost: The cold, smooth flint pebble clicking against your fingernails by candlelit hearths (*вечорниці*), and the suspense as pebbles balance delicately on the back of your hand.
## Implementation hints
Discrete ballistic gravity timer paired with 2D point distance/collision checks for stone scoops and disturbances. First milestone: build the 6-stage state machine and Mother toss window validation before adding neighbor proximity penalty checks and the back-of-hand snatch sequence.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Flint Stones (Ukrainian Knucklebones & Pebble Tossing) (Ukraine). (n.d.). Games of Countries. https://gamesofcountries.com/games/ua-ukraine/kremyashky
@misc{gamesofcountries-ua-ukraine-kremyashky,
title = {Flint Stones (Ukrainian Knucklebones & Pebble Tossing) (Ukraine)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ua-ukraine/kremyashky}
}