Formal Specification
Handkerchief Snatch / Steal the Scarf — Formal Specification
North Macedonia · chase-tag · Confidence: low
← Back to game pageImplementation 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 has Team A baseline at , Center Handkerchief at , and Team B baseline at . Sprint speed is 2 units/tick. Grabbing the cloth takes 1 tick. Tag range is unit.
- **Player/agent count:** 2 teams of agents (), pairing 1v1 duels per round.
- **Turn model:** Simultaneous tick-based duel per round until target score () is reached.
## Formal rules
R1. **Track Setup:** Track . Handkerchief status .
R2. **Round Initialization:** Referee calls number . Agent begins at , Agent begins at . .
R3. **Action Space per Tick:**
- If :
- `advance()`: Moves toward center (, , capped at ).
- `feint()`: Stalls at , imposing a 1-tick reaction delay on the opponent if the opponent attempts an immediate grab.
- `grab_cloth()`: Valid only at . Sets (or B).
- If :
- submits `sprint_home()`: Moves toward at speed .
- submits `pursue_tag()`: Moves toward at speed .
R4. **Tag & Escape Resolution:**
- If reaches while : Team A scores point. Round ends.
- If closes distance such that before reaches : executes `tag()`. Team B scores 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 -tick reaction head start on pursuit.
R6. [gap-fill] Center Standoff Cap:** If both agents stall at for ticks without grabbing, the referee resets the round, scoring 0 points and calling a new number.
R7. **Match Termination:** The first team to reach 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 , team rosters, current round number.
- **Per-tick ephemeral state:** Active agent IDs , positions , cloth state , standoff timer .
- **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 .
- `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 JSONCite 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}
}