Skip to main content
Formal Specification

Hawk and Chickens (Hawk and Mother Hen) — Formal Specification

Slovakia · chase-tag · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 3
# Na jastraba a kury — AI-optimized specification ## General idea A geometric pursuit-and-body-blocking game on a continuous or fine-grid 2D plane where an unconstrained Predator agent attempts to navigate around a pivoting Defender agent to tag the trailing segment of a kinematic chain (linked snake) of Prey agents. ## Formal model - **Abstraction taken:** The Hen and Chicks are modeled as a rigid/semi-flexible kinematic chain with N+1 linked nodes. The Hen (Node 0) controls the head velocity and arm-blocking wing span (a line segment of width W=2.0 meters perpendicular to the Hen's orientation). Each subsequent Chick (Node k) follows the position of Node k−1 with fixed segment length L=0.8 m. - **Player/agent count:** 1 Hawk, 1 Hen, N Chicks (N∈[3,18]). - **Turn model:** Synchronous tick update (tick length Δt=0.1 s, max 300 ticks = 30 seconds) [gap-fill]. ## Formal rules R1. Kinematics: - Hawk: Unconstrained point mass with maximum speed Vhawk=3.0 m/s. - Hen: Maximum speed Vhen=2.5 m/s; possesses a blocking wingspan segment Sblock of length 2.0 m. - Chicks: Node k position satisfies p→k(t)=p→k−1(t)−L⋅uˆk, where uˆk is the normalized direction vector of segment k. R2. Collision & blocking: - The Hawk cannot pass through the Hen's blocking segment Sblock. If the Hawk's velocity vector intersects Sblock, the Hawk's motion is arrested at the boundary (cannot push through). R3. Legal target: - The Hawk can ONLY tag the rearmost chick (Node N). - Exception: If the angular velocity of the chain exceeds a breaking threshold ωbreak=4.0 rad/s, the chain breaks at the highest-stress joint [gap-fill]. Any detached chick becomes a legal target for immediate tagging. R4. Tagging condition: - If Euclidean distance ‖p→hawk−p→N‖≤0.5 m, the tail chick is tagged. - Tagging terminates the round with a victory for the Hawk. R5. Defender victory: - If the Hawk fails to tag the tail chick within 300 ticks (30 seconds), the round ends with a victory for the Hen and Chicks [gap-fill]. ## Edge cases - Tie at the end condition: Not applicable; either the Hawk tags the tail chick (Hawk win) or time expires (Hen/Chicks win). - A player with no legal move: All agents can submit valid velocity vectors v→∈ℝ2,‖v→‖≤Vmax⁡. - Repetition / cycles: The game is strictly bounded by the 300-tick timer. - Simultaneous claims on the same resource or position: Hawk and Hen physics resolve via rigid segment collision; Hawk cannot occupy Hen's wing segment. - Player elimination mid-round; turn order repair: When a chick is tagged, the round immediately terminates; in a multi-round match, the tagged chick is removed for the next round. - Resource exhaustion (pieces, tokens, space, time): Spatial boundaries (15x15m bounding box) and time limit guarantee finite resource usage. - Termination guarantee: Deterministic progress of the 300-tick counter guarantees termination. ## State representation - Persistent state: `round_number: int`, `hawk_score: int`, `hen_score: int`, `surviving_chicks_count: int`. - Per-tick ephemeral state: `hawk_pos: tuple[float, float]`, `hen_pos: tuple[float, float]`, `hen_orientation: float`, `chick_positions: list[tuple[float, float]]`, `tick: int`. - Observable information: Fully observable by all agents — positions, orientations, and velocities of all entities are common knowledge. ## Action space - `hawk_move(vx: float, vy: float)`: Submit desired velocity vector with ‖v→‖≤3.0. - `hen_move(vx: float, vy: float, d_theta: float)`: Submit Hen translational velocity (≤2.5) and rotational pivot rate. - `chick_follow()`: Autonomous follow logic following the kinematic chain equations. ## Playability notes - Single-player-vs-AI: Excellent geometry-and-flanking challenge playing as Hawk against an AI Hen that calculates intercept angles, or playing as Hen executing blocking geometry. - Group games (n>4): Can be controlled by 2 primary strategic agents (Hawk vs Hen) while Chicks are kinematic followers, or with individual child agents adding noise/drift to the tail. - Physical-skill games: Physical body blocking and line-swaying physics are faithfully represented via 2D segment-intersection mathematics. - What is lost in the adaptation: Tactile grip strength, physical fatigue of holding clothes, and the centrifugal whip effect on the tail child. ## Implementation hints Low-to-medium complexity. The primary challenge is implementing the inverse kinematics of the following chain and 2D line-segment collision resolution between Hawk and Hen's wingspan. First milestone: implement a 2-agent (Hawk vs Hen) circle-orbit intercept, then append the 3-chick chain.

Download as JSON

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

Download JSON
Cite this page

Hawk and Chickens (Hawk and Mother Hen) (Slovakia). (n.d.). Games of Countries. https://gamesofcountries.com/games/sk-slovakia/na-jastraba-a-kury

@misc{gamesofcountries-sk-slovakia-na-jastraba-a-kury,
  title = {Hawk and Chickens (Hawk and Mother Hen) (Slovakia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/sk-slovakia/na-jastraba-a-kury}
}