Formal Specification
The Pešek Goes Around (Drop the Handkerchief / Switch) — Formal Specification
Czechia · singing-circle · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Chodí pešek okolo — AI-optimized specification
## General idea
A synchronous singing-circle spatial game modeled on a discrete ring graph where a perimeter runner agent selects a target sitting agent at the culmination of a metric chant. Both agents then engage in a simultaneous bidirectional sprint around the ring to claim the single open seat.
## Formal model
- **Abstraction taken:** The sitting circle is discretized into a ring graph with sitting node positions . The runner moves along outer continuous arc coordinates . Sprint travel time around the perimeter is modeled via agent sprint velocities and reaction latencies.
- **Player/agent count:** agents (, with , standard ).
- **Turn model:** Two-step round structure: (1) Metric Chant & Target Selection; (2) Bidirectional Sprint Race.
## Formal rules
R1. Setup: Ring of seats arranged at angles for . Agent is initialized at angle . agents occupy the seats.
R2. Chanting & Target selection:
- Chant duration lasts discrete beats.
- During beats , moves around the perimeter at constant walking velocity .
- At beat 12, selects a target seated agent located at seat index .
R3. Bidirectional Sprint Race:
- Seated agent vacates seat .
- sprints toward seat in the clockwise direction; travel distance is .
- sprints toward seat in the counter-clockwise direction (covering the full perimeter ) or vice versa.
- [gap-fill] Sprint arrival times:
-
- , where s is reaction latency to being tapped.
R4. Seat Allocation & Role Transition:
- If : occupies seat . becomes the new for the subsequent round.
- If : reclaims seat . Original remains for the next round.
R5. Match structure and Termination:
- [gap-fill] Match runs for rounds.
- The agent who spent the fewest total rounds in the role is declared the winner.
## Edge cases
- Tie at the end condition: Equal arrival times at seat award the seat to the defender .
- A player with no legal move: Addressed by compulsory target selection by .
- Repetition / cycles: Bounded by finite round limit.
- Simultaneous claims on the same resource: Explicitly resolved by arrival timestamp comparison ( vs. ).
- Player elimination mid-round: If a sitting agent disconnects, ring size decreases to ; game continues.
- Resource exhaustion: Fixed ring geometry invariant across rounds.
- Termination guarantee: Strict termination guaranteed by finite -round cap.
## State representation
- Persistent state: `seat_assignments: list[int]`, `pesek_id: int`, `round_number: int`, `pesek_round_counts: dict[int, int]`.
- Ephemeral round state: `chosen_target_id: int`, `arrival_times: tuple[float, float]`.
- Observable information: Fully observable (all positions, runner angle, and times are public).
## Action space
- `select_target_seat(seat_index: int)`: Chosen by at beat 12 ().
## Playability notes
- Single-player-vs-AI: Natural; human plays as choosing strategic targets with favorable distance/reaction trade-offs, or plays as sitting agent reacting to tap.
- Group games (n>4): Natively designed for 6–15 agents.
- Physical-skill games: Peripheral audio tracking and sudden sprint acceleration are mapped to reaction delay and velocity parameters.
- What is lost: Physical tactile cloth drop and covert backward glances.
## Implementation hints
Low complexity. The core logic reduces to a single target selection step followed by a continuous race time comparator. First milestone: 6 agents on a circular graph with deterministic sprint calculations.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
The Pešek Goes Around (Drop the Handkerchief / Switch) (Czechia). (n.d.). Games of Countries. https://gamesofcountries.com/games/cz-czechia/chodi-pesek-okolo
@misc{gamesofcountries-cz-czechia-chodi-pesek-okolo,
title = {The Pešek Goes Around (Drop the Handkerchief / Switch) (Czechia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/cz-czechia/chodi-pesek-okolo}
}