Formal Specification
Cat and Mouse (Belarusian Circle Protection Chase) — Formal Specification
Belarus · chase-tag · Confidence: medium
← Back to game pageImplementation 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 gate segments () 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 Circle Guard agents (, total players ).
- **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:
- Circle Guards form a closed perimeter ring of radius . Each pair of adjacent guards defines gate .
- The Mouse starts at coordinates inside the perimeter ().
- The Cat starts at coordinates outside the perimeter ().
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 .
- Cat submits `move(dx, dy)` up to speed ().
- Circle Guards automatically set gate if the Mouse approaches within proximity threshold , and if the Cat approaches . [gap-fill: Circle Guard behavior is modeled as an automated cooperative policy favoring the Mouse].
R4. Boundary crossing:
- The Mouse may cross any gate regardless of whether it is open or closed (guards always yield to the Mouse).
- The Cat may only cross gate if . If , 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 , and no closed gate separates them, the Mouse is tagged.
R6. Round end & Role transition:
- If the Mouse is tagged within 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 expires without a tag: The Mouse wins the round. A new Cat is chosen from the circle guards. [gap-fill: 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 .
- 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 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 .
- `pos_mouse`: Coordinates .
- `gate_states`: Array of booleans of length ().
- `tick_counter`: Integer .
- Observable information: Fully observable 2D state to all agents.
## Action space
- `move(dx, dy)`: Displacement vector with .
- `set_gate(gate_id, state)`: Circle guard action setting gate state .
## 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 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 JSONCite 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}
}