Formal Specification
Handkerchief Drop (Es ar Savu Lakatiņu / Drop the Handkerchief) — Formal Specification
Latvia · singing-circle · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 11
# Lakatiņa mešana — AI-optimized specification
## General idea
A singing circle game combining stealth item dropping, imperfect perception, and sudden sprint racing. A handkerchief bearer circles behind a ring of singing agents and secretly drops a cloth behind one agent; the target must detect the drop through timed vigilance checks and sprint around the perimeter to tag the bearer before the bearer claims the vacated spot.
## Formal model
- **Abstraction taken:** The continuous physical singing circle and covert dropping are abstracted into a 1D circular topology with discrete perimeter nodes (). The bearer traverses nodes at a constant pace. Checking behind is modeled as an imperfect perception check with an attentional cooldown. The resulting chase is modeled as a simultaneous sprint race along the circle perimeter.
- **Player/agent count:** 1 bearer agent, circle agents ().
- **Turn model:** Two-phase execution: (1) Discrete tick walking/stealth phase, followed by (2) Synchronous continuous sprint chase phase.
## Formal rules
R1. **Ring topology:** ordered stations arranged circularly: distance between adjacent nodes unit. Total perimeter length [gap-fill: default ].
R2. **Initial setup:** Station nodes occupied by circle agents; node is empty. The bearer starts behind node 0 with handkerchief possession [gap-fill].
R3. **Walking and stealth drop phase:**
- Each tick, bearer advances clockwise by nodes [gap-fill].
- Once per lap, the bearer may execute a covert `drop(node_id)` action when passing behind node .
R4. **Perception and sleeper rule:**
- Each circle agent can execute `check_behind()` once every ticks [gap-fill].
- If the handkerchief is at an agent's node and the agent executes `check_behind()`, the chase phase triggers immediately.
- **Sleeper penalty (*Gulētājs*):** If the bearer completes a full lap ( units) and reaches the dropped handkerchief before the target has executed `check_behind()`, the target is declared asleep, incurs a forfeit penalty, and becomes the new bearer for the next round without a race [gap-fill].
R5. **Sprint chase phase:**
- The target agent grabs the handkerchief and starts chasing clockwise from node .
- The bearer sprints clockwise toward the target's vacated spot at node (distance to cover ).
- Sprint speeds are sampled: and where [gap-fill].
R6. **Chase resolution:**
- **Bearer wins spot:** If the bearer reaches node before the target closes the distance to units, the bearer claims the station; the target becomes the new bearer [gap-fill].
- **Target tags bearer:** If target reaches distance before bearer reaches node , the bearer fails, pays a forfeit, and remains the bearer for another round [gap-fill].
R7. **Match termination:** Match runs for rounds. Scoring tracks total successful spot-claims and fewest forfeits incurred [gap-fill].
## Edge cases
- Tie at the end condition: ranked by net successful steals minus forfeits; ties broken by lowest cumulative chase time [gap-fill].
- A player with no legal move: not applicable — bearer must advance; circle agents always have legal choices (`sing_and_wait` vs `check_behind`).
- Repetition / cycles: bounded by finite walking lap speed and the sleeper rule (R4), which forces round termination within 1 lap if undetected.
- Simultaneous claims on the same resource or position: sprint resolution is determined by continuous time of arrival at the target station.
- Player elimination mid-round: not applicable — all players remain active; roles cycle.
- Resource exhaustion: not applicable — single reusable handkerchief token.
- Termination guarantee: every round provably ends in either a sleeper penalty (at most ticks) or a sprint race ( ticks).
## State representation
- Persistent state: station count , player IDs, role assignments, cumulative scores / forfeit tallies.
- Per-turn ephemeral state: bearer position, dropped handkerchief position ( or ), circle agent cooldown timers, active phase (`walking`, `sprinting`), sprint positions and velocities.
- Observable information:
- Circle agents observe singing cadence, public forfeit tallies, and their own check results (whether cloth is behind them). Handkerchief drop location is hidden until a successful check or sleeper trigger.
- Bearer observes exact drop location and target agent states.
## Action space
- `drop(node_id)`: drop handkerchief. Precondition: bearer is at `node_id`, cloth is held.
- `check_behind()`: look behind own station. Precondition: agent is circle member, cooldown .
- `sprint()`: run at maximum speed during chase phase.
## Playability notes
- Single-player-vs-AI: natural — human as bearer timing deceptive drops against AI attention models, or as circle player balancing vigilance against reaction delay.
- Group games (n>4): natively designed for large circles (). Reduced to 2 agents (1 bearer vs 1 target managing 3 virtual stations) preserving the hidden drop and perception timing dynamic [gap-fill].
- Physical-skill games: stealth drop subtlety and sprinting speed abstracted into perception cooldowns and sampled sprint velocities.
- What is lost: acoustic rustling subtleties, peripheral vision cues, and collective choral singing atmosphere.
## Implementation hints
Low complexity. Two distinct finite state machine phases (stealth walk phase and kinematic sprint chase phase). First milestone: implement circular node graph, covert drop state, perception cooldown check, and sprint distance calculation.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Handkerchief Drop (Es ar Savu Lakatiņu / Drop the Handkerchief) (Latvia). (n.d.). Games of Countries. https://gamesofcountries.com/games/lv-latvia/lakatina-mesana
@misc{gamesofcountries-lv-latvia-lakatina-mesana,
title = {Handkerchief Drop (Es ar Savu Lakatiņu / Drop the Handkerchief) (Latvia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/lv-latvia/lakatina-mesana}
}