Skip to main content
Formal Specification

Catching the Hawk's Chicks — Formal Specification

Cambodia · chase-tag · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Chab Koun Khleng — AI-optimized specification ## General idea An asymmetric pursuit-evasion game on a 2D discrete grid. A mobile Hawk agent attempts to navigate around a blocking Mother Hen agent to reach the terminal node of an N-length kinematic snake chain (the Chicks). The Mother Hen pivots and shifts laterally to keep her body between the Hawk and the tail node. ## Formal model - **Abstraction taken:** Continuous bodily pivoting of the human line is discretized into a linked kinematic snake chain C=[p0,p1,…,pK] where p0 is the Mother Hen and pK is the tail chick. Distance between linked adjacent segments is constrained to |pi−pi−1|≤1. - **Player/agent count:** 2 primary decision agents: `Hawk` (H) and `MotherHen` (M). - **Turn model:** Simultaneous tick-based movement on a 2D discrete grid (e.g. 15×15). ## Formal rules R1. Setup: 15×15 grid. Mother Hen M at (7,7). Chain of K chicks positioned linearly behind M along negative y-axis. Hawk H starts at (7,12). R2. Movement per Tick: - Hawk H can move up to 2 cells in any orthogonal/diagonal direction: ΔposH≤2. - Mother Hen M moves 1 cell in any direction (ΔposM≤1). - Each chick node pi updates position to follow pi−1 with 1-tick kinematic delay (pi(t+1)←pi−1(t)), preserving chain integrity. R3. Blocking & Collision: - H cannot move through the cell occupied by M or the intermediate chick bodies p0…pK−1. - If H moves to a cell adjacent to M, M blocks forward movement along that vector. R4. Tag Condition: - If at the end of a tick H occupies the cell adjacent to the tail chick pK without being blocked by M, a successful tag occurs. - The tail chick pK is eliminated: chain length decreases K←K−1. - State resets to neutral start distance. R5. Win Conditions: - **Hawk Wins:** If K=0 (all chicks captured). - **Hen & Chicks Win:** [gap-fill] If H fails to capture all chicks within Tmax⁡=100 ticks. R6. [gap-fill] Safety Drop Rule: If a chick breaks chain connectivity, it becomes invulnerable for 2 ticks if it drops, after which it must reconnect or be eliminated. ## Edge cases - **Tie at the end condition:** Evaluated at Tmax⁡; if K>0, Mother Hen wins. - **A player with no legal move:** Lateral shift or `wait` is always available. - **Repetition / cycles (and the loop-breaking rule):** Bounded by strict time cap Tmax⁡=100 ticks (R5). - **Simultaneous claims on the same resource or position:** Resolved by kinematic order: M blocks H before H can reach pK if both target the same coordinate. - **Player elimination mid-round; turn order repair:** When pK is tagged, K decrements by 1 immediately; the preceding chick becomes the new terminal node. - **Resource exhaustion:** Chicks decrement monotonically K→0. - **Termination guarantee: why the game provably ends:** Guaranteed by finite tick cap Tmax⁡ (R5). ## State representation - `hawk_pos`: coordinate (xH,yH). - `hen_pos`: coordinate (xM,yM). - `chick_chain`: list of coordinates [p1,…,pK]. - `active_chick_count`: integer K. - `tick_count`: integer in 0..100. - Observable information: Fully observable by both agents. ## Action space - For Hawk: `move(dx, dy)` where max⁡(|dx|,|dy|)≤2. - For Mother Hen: `pivot_and_move(dx, dy)` where max⁡(|dx|,|dy|)≤1. ## Playability notes - **Single-player-vs-AI:** Highly playable — human controls Hawk trying to outmaneuver AI Hen, or human Hen defending against pathfinding Hawk. - **Group games (n>4):** Reduces cleanly into the 2-agent controller model (Mother Hen controls the aggregate snake chain). - **What is lost:** The physical centrifugal whip force on the trailing children and the spirited verbal rhymes are converted into 2D snake kinematics. ## Implementation hints Classic pursuit-evasion game with a kinematic tail obstacle. Hen uses angular intercept algorithms to maintain a blocking cone; Hawk uses Breadth-First Search (BFS) / A* around the Hen's blocking radius.

Download as JSON

Download the full game corpus entry for this game as structured JSON.

Download JSON
Cite this page

Catching the Hawk's Chicks (Cambodia). (n.d.). Games of Countries. https://gamesofcountries.com/games/kh-cambodia/chab-koun-khleng

@misc{gamesofcountries-kh-cambodia-chab-koun-khleng,
  title = {Catching the Hawk's Chicks (Cambodia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/kh-cambodia/chab-koun-khleng}
}