Formal Specification
Taq Taq Taqia — Formal Specification
Iraq · singing-circle · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 5
# Taq Taq Taqia — AI-optimized specification
## General idea
A traditional Iraqi sitting-circle singing and chase game (*Taq Taq Taqia.. Ran Ran Ya Jaras*). A runner circles seated children while chanting rhyming verses and secretly drops a cap behind one player. The target must detect the drop, grab the cap, and sprint around the perimeter to tag the runner before the runner occupies the vacated seat.
## Formal model
- **Abstraction taken:** Seated circle modeled as a discrete directed graph of nodes. Tactile touch detection modeled probabilistically.
- **Player/agent count:** 6 to 15 agents (1 `Runner`, `Seated` agents).
- **Turn model:** 1 Walk & Drop Phase, followed by real-time Chase Phase.
## Formal rules
R1. **Circle setup:** Seated nodes arranged in clockwise circle facing inward.
R2. **Walk & drop:** Runner traverses perimeter and executes `drop_cap(k)` behind node .
R3. **Detection check:**
- Player at node detects cap with probability per tick after drop [gap-fill].
- Maximum detection delay is 3 ticks.
- If Runner completes a full lap and passes node again before detection: seated player is sent to "Prison" (*Al-Liman*) [gap-fill].
R4. **Chase execution:**
- Player at node stands and becomes `Chaser`.
- Both sprint clockwise: Runner aims to sit in node ; Chaser aims to tag Runner.
- Velocities: , [gap-fill].
R5. **Resolution:**
- If Runner reaches node untagged: Runner sits safely; Chaser becomes the new Runner for the next round.
- If Chaser tags Runner before node : Runner goes to center / repeats Runner role in next round.
R6. [gap-fill] Round ceiling:** Maximum 20 ticks per chase.
## Edge cases
- **Tie at the end condition:** Runner safe if sitting on exact same tick as tag [gap-fill].
- **A player with no legal move:** Deterministic state machine.
- **Repetition / cycles:** Bounded by 20 ticks per chase.
- **Simultaneous claims:** Handled by R5 resolution.
- **Player elimination mid-round:** Role rotation; prison role temporary.
- **Resource exhaustion:** 1 cap, persistent.
- **Termination guarantee:** Provable per-round termination.
## State representation
- **Persistent state:** `circle_size: int`, `runner_id: AgentID`, `seated_ids: List[AgentID]`, `prison_ids: Set[AgentID]`.
- **Ephemeral state:** `dropped_node: Optional[int]`, `chaser_id: Optional[AgentID]`, `runner_node: int`, `chaser_node: int`.
- **Observable information:** Imperfect during walk phase; common knowledge once chase begins.
## Action space
- `move_walk()`: Advance 1 node.
- `drop_cap(node_id)`: Drop behind player.
- `check_behind()`: Tactile reach check.
- `sprint()`: Clockwise chase.
## Playability notes
- **Single-player-vs-AI:** Operates as a reaction/sprint timing challenge.
- **Group games (n>4):** Native multi-agent group dynamics.
- **Physical-skill games:** Backward touch vigilance mapped to detection probabilities.
- **What is lost:** Iraqi singing chants (*"Taq Taq Taqia.. Ran Ran Ya Jaras... Khayt Sabreen..."*).
## Implementation hints
1D circular array simulation with modular arithmetic indices.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Taq Taq Taqia (Iraq). (n.d.). Games of Countries. https://gamesofcountries.com/games/iq-iraq/taq-taq-taqia
@misc{gamesofcountries-iq-iraq-taq-taq-taqia,
title = {Taq Taq Taqia (Iraq)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/iq-iraq/taq-taq-taqia}
}