Skip to main content
Formal Specification

Come All My Little Chickens (Mother Hen and the Wolf) — Formal Specification

Sweden · chase-tag · Confidence: high

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 6
# Kom alla mina kycklingar — AI-optimized specification ## General idea A structured dialogic running and infection-tag game where a flock of "Chickens" must sprint across a hazardous middle territory from one safe baseline to another upon hearing the Mother Hen's trigger command ("Kom ändå!"). A "Wolf" lurking in the middle zone intercepts and tags fleeing chickens, progressively converting captured prey into wolf pack helpers on successive crossing waves until a single survivor remains. ## Formal model - **Abstraction taken:** The continuous open-field sprint is discretized onto an L×W grid (length L=20, width W=10) divided into Sanctuary Zone A (x=0), Danger Zone (x∈[1,L−1]), and Sanctuary Zone B (x=L). The dialogue is modeled as a 7-step synchronized sequence. The sprint is simulated across discrete time ticks with simultaneous agent movement. - **Player/agent count:** N agents (N≥5; benchmark N=7: 1 Mother Hen H, 1 Alpha Wolf W, 5 Chickens C1…C5). - **Turn model:** Alternating dialogue ticks followed by simultaneous real-time movement ticks (t=1…Tcross). ## Formal rules R1. **Setup:** Arena is a grid with boundaries x∈[0,20],y∈[0,10]. - Sanctuary Zone A is x≤1; Sanctuary Zone B is x≥19. - Initially, Mother Hen H is stationed at Zone A; Chickens C1…Ck start behind Zone B; Wolf W starts at center x=10. R2. **The Dialogue Trigger:** - Each crossing wave begins with a 7-beat automated dialogue sequence. - [gap-fill] Any chicken that moves across the baseline before beat 7 commits a false start and is penalized with a 2-tick immobilization during the sprint. R3. **The Sprint Phase:** - On beat 7 ("Kom ändå!"), the sprint phase begins and lasts up to Tcross=25 ticks [gap-fill]. - Chickens must cross from their current sanctuary to the opposite sanctuary. - Movement speed: Chickens move at sC=1.0 cells/tick; Wolves move at sW=1.2 cells/tick [gap-fill]. - On each tick, all agents simultaneously submit directional vectors v→∈{(0,0),(±1,0),(0,±1),(±1,±1)}. R4. **Tagging & Role Conversion:** - If at the end of any tick t, a Wolf (Alpha or helper) occupies the same cell as an active Chicken in the Danger Zone (x∈[2,18]), that Chicken is tagged. - Tagged Chickens are marked `CONVERTED`. At the conclusion of the wave, all converted chickens become `WOLF_HELPER` agents for all subsequent waves. R5. **Sanctuary Arrival:** - A chicken that reaches the destination sanctuary zone (x≤1 or x≥19) is `SAFE` for the remainder of the wave. R6. **Wave Progression & Role Swap:** - Once all surviving chickens reach the destination sanctuary (or Tcross elapses), the wave ends. - [gap-fill] Any chicken remaining stranded in the Danger Zone when Tcross expires is automatically converted to a wolf helper. - For the next wave, surviving chickens and Mother Hen run in the reverse direction. R7. **Victory Condition:** - Waves repeat until exactly 1 uncaught chicken remains (k=1). - That sole surviving chicken is declared the overall winner of the game. - [gap-fill] If all remaining chickens are tagged in the same final wave, the chicken that survived the greatest number of ticks in that wave wins. ## Edge cases - Tie at the end condition: Handled by R7: if the last surviving chickens are caught on the same tick, tie is broken by distance traveled towards sanctuary [gap-fill]. - A player with no legal move: Boundary collisions restrict movement to inward-pointing vectors; agents trapped against sidelines may only move along open edges. - Repetition / cycles: The wolf pack monotonically grows (|W|≥1), which strictly reduces chicken survival probability each wave, guaranteeing termination. - Simultaneous claims on the same resource or position: Grid cells have non-exclusive occupancy; multiple chickens and wolves may share cells. Tagging evaluates on any co-occupancy in the danger zone. - Player elimination mid-round: Chickens are never eliminated from play; they convert into active hunters (wolf helpers), maintaining full engagement. - Resource exhaustion (pieces, tokens, space, time): Boundaries are fixed. Each wave is strictly bounded by Tcross=25 ticks. - Termination guarantee: Because at least one chicken is typically caught per wave and the wolf pack grows monotonically, the number of surviving chickens strictly decreases to 1. Total waves ≤N−1. ## State representation - **Persistent state:** - `wave_number`: integer. - `roles`: map of agent ID →{HEN,ALPHA_WOLF,WOLF_HELPER,CHICKEN}. - `survivor_history`: list of surviving chicken IDs per wave. - **Per-turn ephemeral state:** - `wave_tick`: integer ∈[1,Tcross]. - `agent_positions`: map of agent ID →(x,y)∈[0,20]×[0,10]. - `wave_direction`: `B_TO_A` or `A_TO_B`. - `active_conversions`: set of chickens tagged during current wave. - **Observable information:** - Fully observable: Positions of all chickens and wolves, sanctuary boundaries, and current wave tick are visible to all agents. ## Action space - `sprint(dx, dy)`: directional velocity vector submitted simultaneously each tick. ## Playability notes - Single-player-vs-AI: Highly enjoyable — player as a single Chicken navigating past a widening pack of AI wolves, or player as Alpha Wolf directing pack encirclement formations. - Group games (n>4): The multi-agent game reduces to a 2-agent evasion duel (1 Wolf vs 1 Chicken) across the lane, testing pure dodging and feinting. - Physical-skill games: Physical sprinting agility and evasion feints are modeled as discrete trajectory planning and speed differentials (sW>sC). - What is lost in the adaptation: The enthusiastic choral call-and-response chanting, flocking social laughter, and maternal sanctuary roleplay. ## Implementation hints Low complexity. The core is an infection-tag kinematic loop on a 2D grid. The Wolf AI can implement a simple greedy pursuit towards the centroid of nearby chickens. First milestone: simulate a single wave with 1 Wolf and 4 Chickens and verify that wolf helpers correctly spawn at the start of Wave 2.

Download as JSON

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

Download JSON
Cite this page

Come All My Little Chickens (Mother Hen and the Wolf) (Sweden). (n.d.). Games of Countries. https://gamesofcountries.com/games/se-sweden/kom-alla-mina-kycklingar

@misc{gamesofcountries-se-sweden-kom-alla-mina-kycklingar,
  title = {Come All My Little Chickens (Mother Hen and the Wolf) (Sweden)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/se-sweden/kom-alla-mina-kycklingar}
}