Skip to main content
Formal Specification

Flint Stones (Ukrainian Knucklebones & Pebble Tossing) — Formal Specification

Ukraine · dexterity-small · Confidence: medium

← Back to game page

Implementation 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 (0.60m×0.60m) coupled with a 1D vertical ballistic toss timer (tair=22hg). Hand action execution operates within the air-time window, evaluating grasp proximity and neighbor disturbance radii (rdisturb=0.02m). - **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 [−0.30,+0.30]×[−0.30,+0.30] 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: Starget=50 points [gap-fill]. R2. Stone Scatter & Mother Designation: - Active player scatters 5 stones: coordinates 𝐬0,…,𝐬4∈[−0.25,+0.25]2. - Player designates one stone as Mother stone M∈{0,…,4}. R3. The Six Sequential Stages: - **Stage 1 — Одинаки (Singles):** 4 iterations. On each: toss M to height h≥0.30m (tair≥0.50s), scoop 1 resting stone Si, and catch falling M. - **Stage 2 — Двійки (Pairs):** 2 iterations. On each: toss M, scoop a chosen pair {Si,Sj} in a single sweep, and catch M. - **Stage 3 — Трійки (Triples):** 2 iterations. First toss: scoop 3 stones together and catch M; second toss: scoop the remaining 1 stone and catch M. - **Stage 4 — Четвірки (Quads):** 1 iteration. Gather 4 stones into cluster; toss M, scoop all 4 stones in one sweep, and catch M. - **Stage 5 — Ворота (The Gates):** Non-tossing hand forms a finger bridge with thumb and middle finger. 4 iterations: toss M, flick 1 resting stone under the bridge, and catch M. - **Stage 6 — Гніздечко / Лови (The Nest / Scoring Snatch):** Toss all 5 stones upward, catch k1≤5 stones on the back of the hand, toss airborne from the back of the hand, and snatch k2≤k1 stones with a downward palm clasp. R4. Scoring: - Completing Stage 6 awards 10×k2 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 M is dropped (not caught before table impact). 2. Neighbor disturbance: An unselected stone is touched or nudged (Δx>0.005m) 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 Starget≥50 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 ∈[1,6]. - `active_player_idx`: Integer. - Ephemeral per-turn state: - `stone_positions`: Array of 5 coordinates (x,y). - `mother_idx`: Integer ∈[0,4]. - `toss_apex_height`: Float meters. - `air_time_remaining`: Float seconds. - `stones_in_hand`: Set of stone IDs. - `gate_anchor_pos`: Coordinate (x,y). - 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 (9.8m/s2), hand grasp span limits (0.12m), 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 JSON
Cite 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}
}