Formal Specification
Wolf and Geese — Formal Specification
Lithuania · chase-tag · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 10
# Vilkas ir žąsys — AI-optimized specification
## General idea
Vilkas ir žąsys is an asymmetric line-tag and spatial shielding chase game. A leader gander (*žąsinas*) heads an articulated single-file chain of goslings (*žąselės*) holding onto each other's waists, confronting a solitary predatory wolf (*vilkas*). Following a formal dramatic dialogue, the wolf attacks, attempting to maneuver around the wide defensive body blocks of the gander to tag and peel off strictly the terminal agent at the tail of the snaking chain.
## Formal model
- **Abstraction taken:** Discretized. Continuous 2D terrain is modeled as an open continuous bounding area with synchronous time ticks () [gap-fill]. The flock is modeled as an articulated kinematic chain (inverse kinematics / follow-the-leader distance constraints) anchored to the gander's position, with the gander exerting a directional blocking cone against the wolf's trajectory [gap-fill].
- **Player/agent count:** agents (): 1 Wolf (), 1 Gander (), and Goslings ().
- **Turn model:** Synchronous tick-based movement and collision detection.
## Formal rules
R1. Setup and Chain Hierarchy:
- Playing area: Flat 2D bounds [gap-fill].
- Wolf starts at lair .
- Gander starts at .
- Goslings form an articulated chain behind : agent follows , and agent follows maintaining strict link distance [gap-fill]. The active tail is the highest uncaptured index .
R2. The Dialogue Phase:
- Prior to physical movement, a fixed 8-step call-and-response dialogue between and executes, concluding on the phrase "Žąselėms plikyti ir skaniam kepsneliui kepti!".
R3. Kinematic Chase Mechanics:
- Wolf moves with maximum speed [gap-fill].
- Gander moves with maximum speed and projects a defensive blocking barrier (a circular sector of radius and arc centered on 's facing direction) [gap-fill].
- Wolf Collision with Gander: Wolf cannot penetrate ; if intersects , 's velocity vector is projected orthogonally along the barrier perimeter (deflected away).
- Chain Kinematics: Gosling position updates to follow with damping: .
R4. Tail-Targeting Rule and Capture Condition:
- The wolf is strictly prohibited from capturing or any intermediate gosling (). Any contact with non-tail agents is a null collision [gap-fill].
- Capture occurs if and only if .
R5. Capture Resolution and Line Repair:
- When is captured, that agent is removed from the chain and placed in the wolf's lair (`captured = true`).
- The new tail becomes .
- Both and reset to starting positions for the next chase round (or continue continuously with the shortened line) [gap-fill].
R6. Game Termination and Win Condition:
- The game concludes when all goslings have been captured, or when a global tick limit ticks expires [gap-fill].
- The first gosling captured becomes the new Wolf for the subsequent game session.
## Edge cases
- Tie at the end condition: If time expires with goslings still uncaptured, the flock is declared victorious against the wolf.
- A player with no legal move: Not applicable — wolf and gander navigate continuously; goslings execute deterministic following kinematics.
- Repetition / cycles (and the loop-breaking rule): If the wolf fails to capture the tail within ticks, the current tail is declared escaped and safe for that sub-round, forcing a reset [gap-fill].
- Simultaneous claims on the same resource or position: Physical body overlap is prevented by kinematic circle collision hulls ().
- Player elimination mid-round; turn order repair: Captured goslings are removed from the tail index; the preceding chain element dynamically assumes the role with zero turn disruption.
- Resource exhaustion (pieces, tokens, space, time): Gosling chain count strictly decreases from ; total ticks are capped at .
- Termination guarantee: Provably terminates because the gosling flock is finite () and each round is bounded by .
## State representation
- Persistent state: Wolf ID, Gander ID, Gosling array , capture bitmask, captured sequence queue.
- Per-turn ephemeral state: Positions , velocity vectors, active tail index , gander blocking sector polygon .
- Observable information: Fully observable — all agent positions, chain links, and capture statuses are public knowledge.
## Action space
- `move_wolf(vx, vy)`: Wolf movement velocity vector.
- `steer_flock(vx, vy, heading)`: Gander movement vector and defensive facing direction.
## Playability notes
- Single-player-vs-AI: Highly engaging — human can control the Wolf (attempting to flank the line using speed and sudden changes of direction) or the Gander (controlling the snake tail through agile body blocking).
- Group games (n>4): Natively designed for 6–20 players; reducing to 3 agents (1 wolf, 1 gander, 1 gosling) preserves the core blocking dynamic, though the snaking whip effect of a long chain is diminished.
- Physical-skill games: Physical foot sprints and body-blocking are abstracted into velocity caps, turn rates, and angular collision sectors.
- What is lost: The physical pull and centripetal whip-like force on children at the tail of the line, shrieking laughter, and handhold grip strain are translated into kinematic curves.
## Implementation hints
Requires a 2D kinematic chain solver (Verlet integration or simple distance constraint relaxation) to model the snaking gosling line following the gander.
First milestone: Build the follow-the-leader chain physics and gander blocking cone, verifying that the wolf cannot pass through the gander to reach the tail.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Wolf and Geese (Lithuania). (n.d.). Games of Countries. https://gamesofcountries.com/games/lt-lithuania/vilkas-ir-zasys
@misc{gamesofcountries-lt-lithuania-vilkas-ir-zasys,
title = {Wolf and Geese (Lithuania)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/lt-lithuania/vilkas-ir-zasys}
}