Formal Specification
The Bogeyman Tag — Formal Specification
Slovenia · chase-tag · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 1
# Črni mož — AI-optimized specification
## General idea
A multi-agent wave-based pursuit simulation across a 1D/2D bounded corridor between two safe baselines. A growing team of chasers attempts to intercept and tag crossing runner agents; tagged agents are immediately recruited into the chaser coalition, causing exponential chaser growth until a single terminal survivor remains.
## Formal model
- **Abstraction taken:** The 2D corridor is modeled as ( m, m). Safe lines at and . Movement is modeled via discrete time ticks ( s) with velocity vectors and evasion/interception angles.
- **Player/agent count:** agents (, with , standard ).
- **Turn model:** Synchronous discrete-time movement across successive discrete wave rounds.
## Formal rules
R1. Setup:
- Safe zones at (Base A) and (Base B).
- Round : Chaser set positioned at ; Runner set at Base A.
R2. Wave Sprint Phase:
- Wave starts with call signal. All runners in must move toward target base (Base B on odd rounds, Base A on even rounds) with forward velocity component .
- Runners cannot exit side boundaries .
- Chasers in navigate to intercept runners.
R3. Interception and Tagging:
- On each tick , for every chaser and runner :
- If (where m) and is in the open field ():
- Runner is TAGGED.
- Struck runner is removed from and added to .
R4. Wave Termination and Role Conversion:
- Wave ends when all surviving runners reach the target safe zone.
- Coalition update: .
- If , next wave begins from R2 in reverse direction.
R5. Match Victory:
- When , that sole surviving agent is declared the WINNER.
- [gap-fill] If all remaining runners are tagged in the same wave, the last tagged agent (or agent closest to the safe line) is declared the winner.
## Edge cases
- Tie at the end condition: Simultaneous last-runner tags broken by x-coordinate distance to the safe line.
- A player with no legal move: Runners must advance across field; stalling in base past s triggers auto-tag.
- Repetition / cycles: Bounded because chaser coalition strictly monotonically increases () until .
- Simultaneous claims on the same resource or position: Multiple runners may cross into the safe base simultaneously.
- Player elimination mid-round; turn order repair: If an agent disconnects, agent is removed from active sets; game continues.
- Resource exhaustion: Field boundaries invariant across waves.
- Termination guarantee: Strictly decreasing runner count with guarantees termination in at most waves.
## State representation
- Persistent state: `chasers: set[int]`, `runners: set[int]`, `wave_number: int`, `target_base: enum[A, B]`.
- Ephemeral tick state: `agent_positions: dict[int, tuple[float, float]]`, `agent_velocities: dict[int, tuple[float, float]]`, `wave_time: float`.
- Observable information: Fully observable (all agent positions, velocities, and roles are public).
## Action space
- `sprint(target_x: float, target_y: float, speed: float)`: Continuous 2D velocity vector.
## Playability notes
- Single-player-vs-AI: Natural; human plays as lone runner dodging through an escalating swarm of AI chasers.
- Group games (n>4): Natively designed for 6 to 30 agents.
- Physical-skill games: Sprint speeds, turning inertia, and tag radii parameterized per agent.
- What is lost: Loud call-and-response shouts, collective playground exhilaration.
## Implementation hints
Multi-agent 2D continuous steering simulation (Boids / pursuit-evasion algorithms). First milestone: implement 1 chaser vs 3 runners across 1D corridor before adding 2D flanking evasion.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
The Bogeyman Tag (Slovenia). (n.d.). Games of Countries. https://gamesofcountries.com/games/si-slovenia/crni-moz
@misc{gamesofcountries-si-slovenia-crni-moz,
title = {The Bogeyman Tag (Slovenia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/si-slovenia/crni-moz}
}