Skip to main content
Formal Specification

A Sack Came Rolling (Counting-Out & Circle Sprint) — Formal Specification

Ukraine · counting-out · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Kotylasya torba (Котилася торба) — AI-optimized specification ## General idea A quintessential Ukrainian counting-out and perimeter circle-sprint game (*Kotylasya torba* or *A Sack Came Rolling*). Players form an inward-facing circle while a Leader walks around the exterior chanting the traditional folk rhyme. Upon the final syllable, the Leader taps an unsuspecting player and both immediately sprint in opposite directions around the circle's perimeter to claim the single vacant slot. ## Formal model - **Abstraction taken:** 2D circular boundary kinematics (R=3.0m, outer perimeter Rrun=3.5m) with angular coordinate tracking θ∈[0,2π). The game transitions between a Rhyme Recitation state and a Bidirectional Perimeter Sprint race. - **Player/agent count:** 1 Leader agent (L), N Circle Player agents (P1,…,PN, total N+1∈[6,25]). - **Turn model:** Metrical syllable countdown ticks followed by synchronous discrete time ticks (1 tick = 0.05 seconds) during the perimeter sprint across Nrounds=5 rounds. ## Formal rules R1. Setup & Circle Configuration: - N circle players occupy fixed angular slots θi=2πiN on a circle of radius R=3.0m. - Leader L starts outside the circle at radius Rrun=3.5m, angle θ=0. - `match_leader_count[Player] = 0`, `round_number = 1`. R2. Rhyme Recitation & Shoulder Tapping: - Leader circles the perimeter stepping to the rhythm of the 24-syllable rhyme (*«Котилася торба з високого горба...»*), submitting `step_recite(syllable_idx)`. - Leader speed during chanting is capped at vwalk≤1.2m/s. R3. The Tap & Sprint Duel (*Біжи!*): - On syllable 24, Leader taps the nearest player Pk at slot k submitting `tap_and_call_run(k)`. - Slot k becomes vacant (`vacant_slot = k`). - **Opposing Sprint Vectors:** - Leader L sprints clockwise (θ˙<0, vL≤4.5m/s). - Challenged player Pk sprints counter-clockwise (θ˙>0, vk≤4.5m/s). - Runners must stay on outer perimeter r∈[3.2m,4.0m]. Entering circle interior (r<3.0m) triggers an immediate boundary foul. R4. Slot Claiming & Role Transition: - The first runner to reach within angular distance |θ−θk|≤π2N of the vacant slot submits `claim_vacant_slot()`. - The winning runner claims slot k as a regular circle player (`circle_slots[k] = winner`). - The losing runner (arriving late) becomes the new Leader (L) for the next round (`match_leader_count[loser] += 1`). - **Simultaneous Arrival Tiebreak:** If both runners arrive within the same 0.05s tick, a reaction hand-clap duel (`clap_hands()`) determines the winner [gap-fill]. R5. Match Victory: - Match concludes after 5 rounds. - The player who was Leader the fewest times is proclaimed the winner. ## Edge cases - Tie at the end condition: Tied players compete in a 1-on-1 sprint race around a single marker post [gap-fill]. - A player with no legal move: Non-challenged circle players hold position; active runners execute angular steering. - Repetition / cycles: Sprint race is physically bounded by circle circumference (2πR≈22m), resolving in ≤6 seconds (≤120 ticks). - Simultaneous claims on the same slot: Hand-clap reaction mini-duel immediately resolves slot occupancy. - Elimination mid-round and turn-order repair: Fixed roster; roles transition cleanly between rounds. - Resource exhaustion: Circular boundary geometry is constant. - Termination guarantee: Monotonic progress of round counter guarantees match completion within at most 600 ticks. ## State representation - Persistent state: - `round_number`: Integer ∈[1,5]. - `leader_history`: Map of Player ID → integer count. - `circle_slots`: Array of N Player IDs. - Per-round ephemeral state: - `leader_id`: Agent ID. - `challenged_id`: Agent ID. - `vacant_slot_idx`: Integer ∈[0,N−1]. - `leader_theta`: Float [0,2π). - `challenged_theta`: Float [0,2π). - `leader_velocity`: Float m/s. - `challenged_velocity`: Float m/s. - Observable information: Fully observable angular positions of all circle players and perimeter runners. ## Action space - `step_recite(syllable_idx)`: Leader pacing during chanting. - `tap_and_call_run(slot_idx)`: Leader selection strike. - `sprint_perimeter(angular_direction, speed)`: Runner perimeter sprint. - `claim_vacant_slot()`: Slot occupancy check. - `clap_hands()`: Tiebreak reaction attempt. ## Playability notes - Single-player-vs-AI: Delightful reflex and explosive sprinting game. Playing as the challenged player demands razor-sharp audio attention to react the instant the rhyme ends; playing as Leader tests deception in pacing before triggering the sprint. - Group reduction: Reducible to 1 Leader and 5 Circle Players (6 players). - Physical-skill games: Auditory reaction latency, explosive turn-and-dash acceleration, perimeter centripetal traction, and hand-clap reflexes are parameterized with angular physics. - What is lost in adaptation: The childhood laughter as two kids squeeze side-by-side into a single grassy slot, and the joyful chanting of *"Котилася торба з високого горба..."* ## Implementation hints Polar coordinate kinematic model with angular boundary collision checks. First milestone: implement the 24-syllable rhyme countdown and opposing angular sprint trajectories before adding the simultaneous arrival hand-clap tiebreak logic.

Download as JSON

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

Download JSON
Cite this page

A Sack Came Rolling (Counting-Out & Circle Sprint) (Ukraine). (n.d.). Games of Countries. https://gamesofcountries.com/games/ua-ukraine/kotylasya-torba

@misc{gamesofcountries-ua-ukraine-kotylasya-torba,
  title = {A Sack Came Rolling (Counting-Out & Circle Sprint) (Ukraine)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ua-ukraine/kotylasya-torba}
}