Skip to main content
Formal Specification

Cat and Mouse (Belarusian Circle Protection Chase) — Formal Specification

Belarus · chase-tag · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Koshka i myshka (Кошка і мышка) — AI-optimized specification ## General idea A circle pursuit and cooperative barrier game where a dynamic circular wall of players coordinates to protect a central evader ("the Mouse") from an external pursuer ("the Cat"). Circle players actively modulate boundary permeability—opening gates (raising joined hands) to let the Mouse pass freely while closing gates (lowering arms) to obstruct the Cat. ## Formal model - **Abstraction taken:** The physical circle is discretized into a planar topology with an inner zone, an outer zone, and a ring of K gate segments (K≥6) formed by pairs of adjacent circle players. Movement is resolved on discrete synchronized time ticks. - **Player/agent count:** 1 Cat agent, 1 Mouse agent, and K Circle Guard agents (K≥6, total players N=K+2). - **Turn model:** Synchronous ticks. In each tick, the Cat and Mouse submit movement vectors, while Circle Guards submit gate states (`OPEN` or `CLOSED`). ## Formal rules R1. Setup: - K Circle Guards form a closed perimeter ring of radius R. Each pair of adjacent guards (i,i+1) defines gate Gi. - The Mouse starts at coordinates inside the perimeter (r<R). - The Cat starts at coordinates outside the perimeter (r>R). R2. Opening dialogue: The round initiates upon completion of the 6-line antiphonal dialogue chant. R3. Per-tick actions: - Mouse submits `move(dx, dy)` up to speed vmouse. - Cat submits `move(dx, dy)` up to speed vcat (vcat≥vmouse). - Circle Guards automatically set gate Gi=OPEN if the Mouse approaches within proximity threshold dgate, and Gi=CLOSED if the Cat approaches Gi. [gap-fill: Circle Guard behavior is modeled as an automated cooperative policy favoring the Mouse]. R4. Boundary crossing: - The Mouse may cross any gate Gi regardless of whether it is open or closed (guards always yield to the Mouse). - The Cat may only cross gate Gi if Gi=OPEN. If Gi=CLOSED, the Cat's movement is blocked at the perimeter boundary (no violent breaching permitted). R5. Tagging resolution: If at the end of any tick the Euclidean distance between Cat and Mouse is less than contact radius rtag, and no closed gate separates them, the Mouse is tagged. R6. Round end & Role transition: - If the Mouse is tagged within Tmax ticks: The Cat wins the round. The former Mouse becomes the Cat for the next round; a new Mouse is selected from the Circle Guards, and the former Cat joins the circle ring. - If the tick limit Tmax expires without a tag: The Mouse wins the round. A new Cat is chosen from the circle guards. [gap-fill: Tmax formalizes the 1–2 minute round duration attested in entry §4.3]. ## Edge cases - Tie at the end condition: Not applicable; a round ends in either a capture by the Cat or a timeout survival by the Mouse. - A player with no legal move: Not applicable; agents always have valid movement or stay-in-place options. - Repetition / cycles: The Cat and Mouse may loop around the perimeter; bounded by the finite tick limit Tmax. - Simultaneous claims on the same position: Cat and Mouse occupying the same space triggers the tag condition (R5). - Elimination mid-round and turn-order repair: No eliminations occur mid-round; role rotation occurs cleanly at round boundaries. - Resource exhaustion: Not applicable; no consumable resources. - Termination guarantee: Each round strictly terminates within at most Tmax ticks by the explicit timeout bound (R6). ## State representation - Persistent state: - `cat_id`: ID of the Cat player. - `mouse_id`: ID of the Mouse player. - `guard_ids`: List of Guard player IDs. - `round_number`: Integer counter. - Per-tick ephemeral state: - `pos_cat`: Coordinates (xc,yc). - `pos_mouse`: Coordinates (xm,ym). - `gate_states`: Array of booleans of length K (OPEN/CLOSED). - `tick_counter`: Integer t∈[0,Tmax]. - Observable information: Fully observable 2D state to all agents. ## Action space - `move(dx, dy)`: Displacement vector with |(dx,dy)|≤vagent. - `set_gate(gate_id, state)`: Circle guard action setting gate state ∈{OPEN,CLOSED}. ## Playability notes - Single-player-vs-AI: Highly playable with a human playing Cat trying to outmaneuver gate timings, or playing Mouse managing gate passages against an AI Cat. - Group reduction: Reducible to 1 Cat, 1 Mouse, and a static or script-controlled set of gates without requiring full multi-agent simulation for guards. - Physical-skill games: Physical ducking, sprinting, and barrier holding are discretized into spatial speeds and distance checks. - What is lost: The physical exertion of holding hands under tension and the vocal delivery of the opening rhyme. ## Implementation hints Model the perimeter as a polygon with K edges. First milestone: implement 2D pursuit dynamics where perimeter segments block the Cat's raycast but allow the Mouse's raycast.

Download as JSON

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

Download JSON
Cite this page

Cat and Mouse (Belarusian Circle Protection Chase) (Belarus). (n.d.). Games of Countries. https://gamesofcountries.com/games/by-belarus/koshka-i-myshka

@misc{gamesofcountries-by-belarus-koshka-i-myshka,
  title = {Cat and Mouse (Belarusian Circle Protection Chase) (Belarus)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/by-belarus/koshka-i-myshka}
}