Formal Specification
Buttons (Moldovan Button Flicking & Span Game / Țoc) — Formal Specification
Moldova · dexterity-small · Confidence: medium
← Back to game pageImplementation 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 .
- **Player/agent count:** 2 to 6 players (, with ).
- **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 meters.
- Wall boundary is located at ; baseline is at .
- Hand-span capture threshold: .
- Each player 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 tosses their master button from by submitting `cast_to_wall(velocity, angle)`.
- Button trajectory incorporates wall rebound restitution () and ground deceleration ().
- Final resting distance to the wall is measured: .
- Flick turn order is established in ascending order of (closest to wall shoots first).
R3. Phase 2 — The Flick & Strike (*Țocul*):
- Active player selects a target opposing button and submits `flick_button(angle, impulse)`.
- Master button rolls from its current coordinates along direction until coming to rest at .
- **Capture Evaluation:**
- **Direct Strike:** If trajectory makes contact with (), direct capture is confirmed.
- **Hand-Span Proximity (*La palmă*):** If resting distance (), span capture is confirmed.
R4. Capture Resolution & Bonus Turns:
- If capture is confirmed:
- Opponent button is removed from the board (`captured_count[P_k] += 1`).
- If the targeted player has reserve buttons, they place a new button at baseline .
- Player earns an immediate consecutive bonus flick turn (`has_bonus_turn = true`).
- If capture fails (distance and no direct hit):
- Turn passes to the next active player in queue .
R5. Match Termination & Victory:
- Match concludes when all opponent reserve buttons are exhausted and captured, or when round counter reaches 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 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 ( 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 .
- `active_shooter_id`: Agent ID.
- `last_shot_result`: Enum .
- `phase`: Enum .
- Observable information: Fully observable continuous 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 (). 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 JSONCite 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}
}