Formal Specification
Tag (Romanian Traditional Tag and Elevated Tag) — Formal Specification
Romania · chase-tag · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 1
# De-a prinselea — AI-optimized specification
## General idea
A discrete, real-time ticked pursuit and evasion game on a 2D grid containing designated elevated sanctuary cells. A chaser agent seeks to catch vulnerable ground runners; runners can occupy elevated cells to gain temporary immunity, which expires under an adjacent chaser countdown timer.
## Formal model
- **Abstraction taken:** Continuous pursuit field discretized into a 2D grid (, e.g. ). Certain cells are tagged as `elevated_sanctuary`. Time advances in discrete simultaneous ticks.
- **Player/agent count:** 1 Chaser () and Runners (, default ).
- **Turn model:** Real-time ticked simultaneous execution.
## Formal rules
R1. Setup:
- Grid . Set of elevated cells .
- Chaser index .
- Immunity timer per runner: `sanctuary_ticks_left` .
- Tag cooldown: `immune_from_tag_back` ID tracking the most recent chaser.
R2. Movement per tick:
- All agents submit directional movement vector .
R3. Sanctuary Mechanics:
- If runner occupies cell :
- Runner is in sanctuary (`is_immune = True`).
- If chaser is within distance cells of : `sanctuary_ticks_left -= 1`.
- If `sanctuary_ticks_left == 0`: Runner loses immunity (`is_immune = False`) and must exit cell on the next tick.
- If runner occupies a non-elevated ground cell: `is_immune = False`, and `sanctuary_ticks_left` regenerates per tick up to max 10.
R4. Tagging & Role Transfer:
- If Chaser occupies the same cell or adjacent orthogonal cell as Runner :
- If has `is_immune == False` and :
- Runner is tagged.
- Role transfer: , `immune_from_tag_back = old_chaser_id` (for 15 ticks).
R5. Scoring & Win Condition:
- [gap-fill] Match play duration is 300 ticks. Each agent accumulates "Chaser Time" (ticks spent as Chaser).
- The agent with the lowest cumulative Chaser Time at tick 300 wins the match.
## Edge cases
- Tie at the end condition: If two agents finish with identical Chaser Time, the agent with fewer total times tagged wins.
- A player with no legal move: Waiting / holding cell position is always legal.
- Repetition / cycles: Bounded by the hard 300-tick game clock (R5).
- Simultaneous claims on the same resource or position: Exactly 1 runner may occupy a single elevated sanctuary cell ; a second arriving runner bounces back to previous ground position.
- Player elimination mid-round; turn order repair: No eliminations; role exchange updates the active chaser ID smoothly.
- Resource exhaustion: Not applicable.
- Termination guarantee: Enforced by the finite tick horizon ().
## State representation
- Persistent state:
- `positions`: Array of coordinates.
- `chaser_id`: Integer .
- `chaser_time`: Array of integers tracking elapsed ticks as chaser.
- `tag_back_cooldown`: Tuple `(immune_agent_id, ticks_remaining)`.
- `sanctuary_timers`: Array of integers.
- `tick`: Integer counter .
- Observable information: Fully observable by all agents.
## Action space
- `move(direction)`: `direction` .
## Playability notes
- Single-player-vs-AI: Excellent pursuit-evasion benchmark environment.
- Group games (n>4): Parameterized for runner agents.
- Physical-skill games: Physical sprinting and balance jumping converted into grid pathfinding and sanctuary occupancy timers.
- What is lost: Physical athletic cuts, jumping onto curbs, and laughter.
## Implementation hints
- Implement as a simultaneous-step multi-agent grid world.
- Chaser AI heuristic: Target the nearest non-immune runner whose distance to nearest sanctuary cell is maximal.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Tag (Romanian Traditional Tag and Elevated Tag) (Romania). (n.d.). Games of Countries. https://gamesofcountries.com/games/ro-romania/de-a-prinselea
@misc{gamesofcountries-ro-romania-de-a-prinselea,
title = {Tag (Romanian Traditional Tag and Elevated Tag) (Romania)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ro-romania/de-a-prinselea}
}