Skip to main content
Formal Specification

Buttons (Moldovan Button Flicking & Span Game / Țoc) — Formal Specification

Moldova · dexterity-small · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 3
# Nasturii (Nasturii) — AI-optimized specification ## General idea A traditional Moldovan manual dexterity, button-flicking, and precision distance-measuring game (*Țoc* or *La palmă*). Players cast heavy horn, bone, or lead-weighted buttons against a wall to establish turn order, then take turns flicking their master button with the thumb to strike opposing buttons or bring them within one hand-span (*o palmă* — 20 cm) to capture them. ## Formal model - **Abstraction taken:** 2D continuous planar rigid-body physics with Coulomb ground friction and wall restitution. Scoring integrates direct circular collision checks and a metric Euclidean hand-span capture radius Dspan=0.20m. - **Player/agent count:** 2 to 6 players (P1,…,PN, with N∈[2,6]). - **Turn model:** Sequential approach phase followed by priority-ordered flicking turns with chaining capture bonuses. ## Formal rules R1. Setup & Arena Geometry: - Playing area is bounded within [−2.0,+2.0]×[0.0,4.0] meters. - Wall boundary is located at y=4.0m; baseline is at y=0.0m. - Hand-span capture threshold: Dspan=0.20m. - Each player Pi starts with 1 master button on the board and 2 reserve buttons in inventory [gap-fill]. - `captured_count[P_i] = 0`. R2. Phase 1 — Wall Approach Cast (*Aruncarea la perete*): - Each player Pi tosses their master button from y=0.0m by submitting `cast_to_wall(velocity, angle)`. - Button trajectory incorporates wall rebound restitution (e=0.60) and ground deceleration (a=−μg). - Final resting distance to the wall is measured: di=4.0−yi. - Flick turn order Q=[P(1),P(2),…,P(N)] is established in ascending order of di (closest to wall shoots first). R3. Phase 2 — The Flick & Strike (*Țocul*): - Active player Pk selects a target opposing button Btarget and submits `flick_button(angle, impulse)`. - Master button rolls from its current coordinates 𝐱k along direction θ until coming to rest at 𝐱k′. - **Capture Evaluation:** - **Direct Strike:** If trajectory makes contact with Btarget (‖𝐱t−𝐱target‖≤0.04m), direct capture is confirmed. - **Hand-Span Proximity (*La palmă*):** If resting distance ‖𝐱k′−𝐱target‖≤Dspan (0.20m), span capture is confirmed. R4. Capture Resolution & Bonus Turns: - If capture is confirmed: - Opponent button Btarget is removed from the board (`captured_count[P_k] += 1`). - If the targeted player has reserve buttons, they place a new button at baseline y=0.0m. - Player Pk earns an immediate consecutive bonus flick turn (`has_bonus_turn = true`). - If capture fails (distance >0.20m and no direct hit): - Turn passes to the next active player in queue Q. R5. Match Termination & Victory: - Match concludes when all opponent reserve buttons are exhausted and captured, or when round counter reaches Tmax=50 turns [gap-fill]. - The player with the highest total of captured buttons is declared the winner. ## Edge cases - Tie at the end condition: If multiple players tie for most captures, a 1-throw sudden-death wall-rebound closest-to-pin toss breaks the tie [gap-fill]. - A player with no legal move: If all opponent buttons are off-board, player claims remaining pool victory. - Repetition / cycles: Friction strictly bounds every shot movement; turn limit Tmax=50 prevents infinite stalemates. - Simultaneous claims on the same position: Flick attempts are strictly sequential. - Elimination mid-round and turn-order repair: A player with 0 active on-board and 0 reserve buttons is eliminated; queue skips their index. - Resource exhaustion: Total button supply across players is strictly finite (N×3 buttons). - Termination guarantee: Captures permanently reduce the total button pool; maximum 50 turns ensures deterministic termination. ## State representation - Persistent state: - `round_number`: Integer. - `button_inventories`: Map of Player ID → integer reserves. - `captured_count`: Map of Player ID → integer. - `turn_queue`: Ordered list of active Player IDs. - Per-shot ephemeral state: - `button_positions`: Map of Button ID →(x,y). - `active_shooter_id`: Agent ID. - `last_shot_result`: Enum ∈{DIRECT_HIT,SPAN_CAPTURE,MISS}. - `phase`: Enum ∈{APPROACH_CAST,FLICKING,RESOLVED}. - Observable information: Fully observable continuous (x,y) coordinates of all buttons on the arena plane. ## Action space - `cast_to_wall(velocity, angle)`: Initial approach throw. - `flick_button(angle, impulse)`: Thumb-flick shot towards target. - `deploy_reserve_button(x_pos)`: Re-entry placement at baseline. ## Playability notes - Single-player-vs-AI: Highly addictive billiards/marbles style physics game. Player calculates angle, force, and rebound geometry against the wall, balancing direct hits with safe hand-span proximity traps. - Group reduction: Reducible to 2 players with 3 buttons each. - Physical-skill games: Thumbnail flick impulse, friction roll over uneven dirt flagstones, and measuring palm spans with thumb and pinky are modeled via continuous 2D planar physics. - What is lost: The sharp metallic click (*țoc!*) of antique copper coins clashing on stone porch steps and the pride of pocketing an opponent's rare brass trench button. ## Implementation hints 2D continuous physics engine with circle-circle swept collision detection and Coulomb friction deceleration (a=−μg). First milestone: implement wall rebound distance ranking and 2D flick friction roll before adding hand-span capture validation and chained turn loops.

Download as JSON

Download the full game corpus entry for this game as structured JSON.

Download JSON
Cite this page

Buttons (Moldovan Button Flicking & Span Game / Țoc) (Moldova). (n.d.). Games of Countries. https://gamesofcountries.com/games/md-moldova/nasturii

@misc{gamesofcountries-md-moldova-nasturii,
  title = {Buttons (Moldovan Button Flicking & Span Game / Țoc) (Moldova)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/md-moldova/nasturii}
}