Formal Specification
Buckwheat (Spring Ritual Circle & Weaving Game) — Formal Specification
Ukraine · singing-circle · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 3
# Hrechka (Гречка) — AI-optimized specification
## General idea
A traditional Ukrainian spring ritual singing game (*веснянка-гагілка*) and serpentine weaving dance (*Hrechka* or *Posiyaly hrechku*). Participants form an unbroken hand-linked chain representing the sowing, growth, harvesting, and milling of buckwheat. Led by the Lead Maiden (*Заспівувачка*), the chain executes pantomimed agrarian gestures, threads through elevated underarm arches to weave a cross-armed human braid (*плетіння*), and unravels in an accelerating spiral.
## Formal model
- **Abstraction taken:** Cooperative rhythm state machine and multi-node kinematic chain. The ritual transitions across 3 choreographic phases: Synchronized Pantomime Circle, Underarm Serpentine Arch Weave, and High-Speed Unraveling Spiral across 48 musical bars in meter.
- **Player/agent count:** 1 Lead Singer agent (), 1 Anchor agent (), and Chain Dancer agents (, total ).
- **Turn model:** Synchronous discrete ticks (1 tick = 1 sixteenth-note / 0.125s) across 48 musical bars (384 ticks).
## Formal rules
R1. Setup & Chain Initialization:
- participants link hands in single file: .
- Grip link distance .
- State initialization: `harmony_score = 100.0`, `grip_breaks = 0`, `phase = PANTOMIME`.
- Musical tempo: in meter (accelerating to in Phase 3).
R2. Phase 1 — Pantomime Agricultural Verses (Bars 1–16):
- Chain forms a rotating circle of radius stepping clockwise.
- At 4-bar intervals, agents execute pantomime gesture actions on downbeats:
- Bars 1–4: `mimic_sow_seed()`.
- Bars 5–8: `mimic_hoe_weed()`.
- Bars 9–12: `mimic_reap_buckwheat()`.
- Bars 13–16: `mimic_grind_mill()`.
- Timing offsets deduct point from `harmony_score`.
R3. Phase 2 — Serpentine Braid Weave (*Плетіння гречки*, Bars 17–32):
- Leader guides chain through the elevated arm arch formed by Node and Anchor (`weave_under_arch(arch_id)`).
- As each pair passes under, dancers submit `pivot_cross_arms()`, pivoting and locking crossed arms across their chests.
- Chain progressively winds into a compact braided human coil.
R4. Phase 3 — Unraveling & Speed Acceleration (*Розкручування*, Bars 33–48):
- Tempo accelerates to .
- Leader weaves chain in reverse through opposing arches to uncoil the braid.
- High-speed curve turning evaluates centrifugal grip tension .
- If tension exceeds , a grip break occurs (`is_broken = true`).
R5. Grip Break Penalties (*Розірвали плуг*):
- If a grip break occurs, the two offending dancers must submit `dance_solo_forfeit()` in the center for 4 bars [gap-fill].
- `harmony_score -= 10.0`, `grip_breaks += 1`.
R6. Ritual Evaluation & Conclusion:
- Performance concludes at bar 48.
- If `harmony_score >= 80.0`: **Bountiful Spring Blessing** achieved.
- If `harmony_score < 80.0`: **Modest Village Blessing** achieved [gap-fill].
## Edge cases
- Tie at the end condition: Cooperative scoring against fixed threshold; individual agent rhythm precision ranks participants [gap-fill].
- A player with no legal move: Not applicable; agents execute phase-specific choreographic actions.
- Repetition / cycles: Music bars advance strictly from 1 to 48.
- Simultaneous claims on the same position: Arch traversal follows strict sequential chain node order.
- Elimination mid-round and turn-order repair: Dancers are not eliminated; breaks incur score penalties and forfeit dances.
- Resource exhaustion: Scripted 48-bar sequence is strictly finite.
- Termination guarantee: Timeline terminates deterministically in exactly 384 ticks (48 seconds).
## State representation
- Persistent state:
- `bar_counter`: Integer .
- `phase`: Enum .
- `harmony_score`: Float .
- `grip_breaks`: Integer.
- Per-tick ephemeral state:
- `current_beat`: Float within bar .
- `node_positions`: Array of coordinates .
- `crossed_arm_flags`: Array of booleans.
- `is_broken`: Boolean.
- Observable information: Fully observable conductor tempo, song lyrics, partner positions, and harmony meter.
## Action space
- `mimic_sow_seed()`: Agricultural sowing gesture.
- `mimic_hoe_weed()`: Agricultural hoeing gesture.
- `mimic_reap_buckwheat()`: Agricultural reaping gesture.
- `mimic_grind_mill()`: Agricultural milling gesture.
- `weave_under_arch(arch_id)`: Leader serpentine path step.
- `pivot_cross_arms()`: Stationary pivot into crossed-arm braid.
- `dance_solo_forfeit()`: Solo forfeit dance step.
## Playability notes
- Single-player-vs-AI: Joyous and intricate folk rhythm/choreography game. Player as the Lead Singer navigates complex serpentine pathing beneath human arches, balancing spatial curvature to avoid snapping chain tension as tempo accelerates.
- Group reduction: Reducible to Leader, Anchor, and 4 Dancers (6 players).
- Physical-skill games: Underarm clearance geometry, arm-crossing flexibility, and hand grip endurance under centripetal whip forces are modeled via multi-segment kinematic tension equations.
- What is lost: The fragrant spring meadow breeze on Easter Monday, the vibrant flutter of embroidered ribbons, and the ancient choral melody *"Ой посіяли дівчата гречку..."*
## Implementation hints
Multi-node kinematic chain state machine driven by a discrete BPM clock. First milestone: implement the 48-bar musical timeline and pantomime gesture synchronization before adding the underarm arch collision checks and centrifugal grip break mechanics.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Buckwheat (Spring Ritual Circle & Weaving Game) (Ukraine). (n.d.). Games of Countries. https://gamesofcountries.com/games/ua-ukraine/hrechka
@misc{gamesofcountries-ua-ukraine-hrechka,
title = {Buckwheat (Spring Ritual Circle & Weaving Game) (Ukraine)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ua-ukraine/hrechka}
}