Skip to main content
Formal Specification

Handkerchief Snatch / Steal the Scarf — Formal Specification

North Macedonia · chase-tag · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 3
# Грабнување шамивче — AI-optimized specification ## General idea A two-player asymmetric sprint and tag duel per round, repeated across team rosters. Two competing agents start at opposite baselines and sprint toward a central handkerchief. At the center point, a micro-game of feinting and timing occurs: grabbing the cloth commits the agent to an escape sprint home, while the rival instantly transitions to a pursuing tagger. ## Formal model - **Abstraction taken:** The 1D sprint track [−10,+10] has Team A baseline at x=−10, Center Handkerchief at x=0, and Team B baseline at x=+10. Sprint speed is 2 units/tick. Grabbing the cloth takes 1 tick. Tag range is d≤1.0 unit. - **Player/agent count:** 2 teams of N agents (N∈[4,10]), pairing 1v1 duels per round. - **Turn model:** Simultaneous tick-based duel per round until target score (Starget=10) is reached. ## Formal rules R1. **Track Setup:** Track [−10,+10]. Handkerchief status Hstate∈{Center,CarriedByA,CarriedByB}. R2. **Round Initialization:** Referee calls number k∈{1..N}. Agent Ak begins at x=−10, Agent Bk begins at x=+10. Hstate=Center. R3. **Action Space per Tick:** - If Hstate=Center: - `advance()`: Moves toward center (xA←xA+2, xB←xB−2, capped at x=0). - `feint()`: Stalls at x=0, imposing a 1-tick reaction delay on the opponent if the opponent attempts an immediate grab. - `grab_cloth()`: Valid only at x=0. Sets Hstate←CarriedByA (or B). - If Hstate=CarriedByA: - Ak submits `sprint_home()`: Moves toward −10 at speed vflee=2.0. - Bk submits `pursue_tag()`: Moves toward Ak at speed vpursuit=2.2. R4. **Tag & Escape Resolution:** - If Ak reaches xA≤−10 while xB−xA>1.0: Team A scores +1 point. Round ends. - If Bk closes distance such that xB−xA≤1.0 before Ak reaches −10: Bk executes `tag()`. Team B scores +1 point. Round ends. R5. [gap-fill] Simultaneous Grab Resolution:** If both agents execute `grab_cloth()` on the exact same tick, a coin toss assigns possession, and the loser is granted an immediate 0.5-tick reaction head start on pursuit. R6. [gap-fill] Center Standoff Cap:** If both agents stall at x=0 for >10 ticks without grabbing, the referee resets the round, scoring 0 points and calling a new number. R7. **Match Termination:** The first team to reach ≥10 points wins the match. ## Edge cases - Tie at the end condition: Not applicable; each round awards exactly 1 point to one team, continuing until a score differential breaks any tie at 10. - A player with no legal move: Active runners always have legal movement/grab actions. - Repetition / cycles: Bounded by the 10-tick center standoff cap and fixed track length. - Simultaneous claims on the same resource or position: Simultaneous grabs resolve via R5's fair coin toss. - Player elimination mid-round: Not applicable; all team members rotate through number calls. - Resource exhaustion: Handkerchief resets to center every round. - Termination guarantee: [gap-fill] Every active round awards 1 point in at most 25 ticks, ensuring match completion within at most 250 ticks. ## State representation - **Persistent state:** Team scores (SA,SB), team rosters, current round number. - **Per-tick ephemeral state:** Active agent IDs (Ak,Bk), positions (xA,xB), cloth state Hstate, standoff timer tstandoff∈[0,10]. - **Observable information:** Fully observable; both agents have full public visibility of player positions and cloth status. ## Action space - `advance()`: Move toward center. - `feint()`: Center feint action. - `grab_cloth()`: Snatch handkerchief from x=0. - `sprint_home()`: Sprint toward own baseline. - `pursue_tag()`: Pursue and tag carrier. ## Playability notes - Single-player-vs-AI: Fast-paced, intense reflex/bluffing duel against an AI opponent with reaction-time variance. - Group games (n>4): Natively accommodates large multiplayer teams via sequential 1v1 round pairings. - Physical-skill games: Physical burst acceleration and hand snatch reflexes are modeled as tick-based speeds and feint delays. - What is lost in the adaptation: The cheering roar of teammates along the sidelines and the physical dive across the finish line. ## Implementation hints Very low complexity. Requires a simple 1D kinematic axis with distance checking and a 3-state cloth state machine. First milestone: implement R1–R4 with constant speeds and verify tag/escape outcomes.

Download as JSON

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

Download JSON
Cite this page

Handkerchief Snatch / Steal the Scarf (North Macedonia). (n.d.). Games of Countries. https://gamesofcountries.com/games/mk-north-macedonia/grabnuvanje-shamivche

@misc{gamesofcountries-mk-north-macedonia-grabnuvanje-shamivche,
  title = {Handkerchief Snatch / Steal the Scarf (North Macedonia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/mk-north-macedonia/grabnuvanje-shamivche}
}