Formal Specification
Syrian Drop the Handkerchief — Formal Specification
Syria · singing-circle · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 3
# Taq Taq Taqiyeh — AI-optimized specification
## General idea
A high-stakes hidden-information chase game played on a circular graph. Sitting agents must manage their attention (when to look behind) while looking forward, while the runner agent attempts to stealthily drop an item and complete a lap. The core strategic challenge is the tension between runner deception and sitting player alertness.
## Formal model
- **Abstraction taken:** The circle of players is represented as a circular directed graph of nodes (seats 0 to ). The runner moves on a outer concentric track.
- **Player/agent count:** players (1 active runner, sitting players).
- **Turn model:** Real-time ticked. Each tick, players make simultaneous choices.
## Formal rules
R1. Setup: players. Seat slots are occupied by sitting players. One player starts as the runner, positioned at slot 0 on the outer track. The handkerchief is in the runner's inventory.
R2. Movement:
2.1. The runner moves clockwise on the outer track at a rate of 1 slot per tick.
2.2. [gap-fill] Every tick, the runner can choose to `drop_handkerchief()` on their current outer slot, if they still have it.
R3. Information Restriction:
3.1. A sitting player has their state set to `looking_forward` by default. They cannot see slot on the outer track (directly behind them).
3.2. A sitting player can execute `check_behind()` on a tick. This action changes their state to `checking` for 1 tick, during which they can observe whether the handkerchief is on slot .
3.3. [gap-fill] A sitting player has a passive detection probability per tick if the handkerchief is sitting behind them, simulating peripheral vision, rustling sounds, or physical shadow.
R4. Chase Phase:
4.1. If a sitting player detects the handkerchief (either via active checking or passive detection), they enter `chaser` status.
4.2. The chaser picks up the handkerchief and runs clockwise on the outer track.
4.3. During the chase, the runner's speed is 1.5 slots per tick, and the chaser's speed is 1.5 slots per tick [gap-fill: matching speed represents physical equality, making the initial head-start distance the decisive factor].
4.4. The runner attempts to reach the vacant seat first. The chaser attempts to reach and tag the runner first.
R5. Resolution:
5.1. If the runner reaches seat first, they sit. The chaser becomes the runner for the next round.
5.2. If the chaser tags the runner, the runner is caught. The runner is placed in `jail` (the center node) and remains the runner for the next round.
R6. Sleeping Penalty (*Al-Kookh*):
6.1. If the runner drops the handkerchief at slot , completes a full lap of slots, and reaches slot again before player has detected the cloth, the runner calls `tag_sleep(i)`.
6.2. Player is immediately sent to `jail` (the center node).
6.3. The runner picks up the handkerchief and a new round begins with the same runner.
R7. Win / Loss / Draw:
7.1. Individual game rounds result in seat-swaps or jailings.
7.2. A game terminates after rounds (e.g., 10 rounds). The player with the fewest times jailed wins.
## Edge cases
- Tie at the end condition: If both runner and chaser reach the vacant seat on the exact same tick, the runner (who is ahead) is awarded the seat (defender's advantage).
- A player with no legal move: Sitting players can always choose to stay or `check_behind`. A runner can always move forward.
- Repetition / cycles: Bounded by the finite round limit and a maximum tick limit per round (e.g., 100 ticks). If a round exceeds the tick limit, it is restarted with the same runner.
- Simultaneous claims on the same resource: Not applicable; seats are unique, and only one chaser is active at any time.
- Player elimination mid-round: When a player is jailed in the center, they do not participate in active play, and the size of the circle graph is effectively reduced by 1 node.
- Resource exhaustion: None.
- Termination guarantee: Guaranteed by the maximum round limit .
## State representation
- Persistent state: Array of seats representing players sitting there, runner's position, handkerchief position (null, on track, or in hand), dictionary of player states (sitting, chasing, jailed), current round, score.
- Per-tick ephemeral state: Active check actions, movement updates.
- Observable information: Runner sees the entire state. Sitting players see all sitting players, the runner's visible path in front of them, but cannot see behind them unless they execute `check_behind()`.
## Action space
- `move()`: Runner/Chaser moves forward on outer track.
- `drop_handkerchief()`: Runner drops the item behind their current slot.
- `check_behind()`: Sitting player checks the slot behind their back.
- `sit()`: Runner occupies the vacant seat.
- `tag()`: Chaser tags the runner if they occupy adjacent/overlapping coordinates.
## Playability notes
- Single-player-vs-AI: Natural. The AI can play as the sitting players (implementing a stochastic check-behind interval based on runner distance) and as the runner (attempting to drop the handkerchief when the target player's check cooldown is active).
- Group games (n>4): Standard. Generalizes to any .
- Physical-skill games: Physical reaction times and awareness are represented by the parameter and the `check_behind` cooldown.
- What is lost: The social fun of singing, shouting, and physical laughter.
## Implementation hints
- Implement as a simple discrete event-loop simulation.
- First milestone: Create the circular track, implement the runner's movement and the drop mechanic, then add the line-of-sight/attention checks for the sitting players.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Syrian Drop the Handkerchief (Syria). (n.d.). Games of Countries. https://gamesofcountries.com/games/sy-syria/taq-taq-taqiyeh
@misc{gamesofcountries-sy-syria-taq-taq-taqiyeh,
title = {Syrian Drop the Handkerchief (Syria)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/sy-syria/taq-taq-taqiyeh}
}