Formal Specification
Cross Tag (Ukrainian Intersecting Pursuit) — Formal Specification
Ukraine · chase-tag · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Khreshchyky (Хрещики) — AI-optimized specification
## General idea
A classic Ukrainian cooperative evasion and intersecting pursuit game (*Khreshchyky* or *Cross Tag*). A designated Chaser (*Квач*) selects a single Quarry (*Втікач*) and must pursue them exclusively. Free runners can rescue an exhausted teammate by deliberately sprinting across the line of pursuit between Chaser and Quarry, legally compelling the Chaser to abandon the original target and chase the crossing runner instead.
## Formal model
- **Abstraction taken:** 2D continuous/ticked arena kinematics () with line-segment intersection detection. The active pursuit vector is modeled as a dynamic line segment . A crossing event occurs whenever another runner's motion vector intersects .
- **Player/agent count:** 1 Chaser agent (), Runner agents (, with ).
- **Turn model:** Synchronous discrete simulation ticks (1 tick = 0.1 seconds) across rounds.
## Formal rules
R1. Setup & Bounding Field:
- Rectangular boundary: meters.
- Initial Chaser starts at ; Runners scatter across the field ( from ).
- `match_chaser_time[Player] = 0.0`, `round_number = 1`.
R2. Pursuit Designation:
- Chaser selects an initial Quarry submitting `designate_quarry(target_id)`.
- Chaser is constrained: must pursue active exclusively ().
R3. The Intersecting Crossing Rule (*Хрещення дороги*):
- At every tick , the pursuit line segment is defined by .
- If any free runner moves along path such that the path intersects segment :
- Runner submits `cross_pursuit_line()`.
- **Mandatory Target Switch:** Active quarry immediately updates: .
- Chaser must abandon the previous quarry and pursue .
R4. Tagging & Role Inversion:
- If Chaser reaches active quarry ():
- Quarry is tagged: `is_tagged = true`.
- Tagged player becomes the new Chaser ().
- **Immunity Window (*Чур за себе!*):** The former chaser receives an immunity flag `is_immune = true` for seconds ( ticks), during which they cannot be designated or tagged.
R5. Boundary Out:
- Any runner stepping outside the boundary box ( or ) commits an out-of-bounds foul and immediately becomes the new Chaser [gap-fill].
R6. Match Victory:
- Match concludes after 5 rounds (or ).
- The player with the lowest cumulative time spent as Chaser is declared the winner.
## Edge cases
- Tie at the end condition: Tied players conduct a 1-on-1 evasion sprint showdown within a circle [gap-fill].
- A player with no legal move: All agents possess continuous 2D steering and velocity control.
- Repetition / cycles: Dynamic crossing creates endless tactical evasion; match timer strictly bounds total duration.
- Simultaneous claims on the same position: Multiple simultaneous line crosses resolve in favor of the crossing closest to the Chaser.
- Elimination mid-round and turn-order repair: Fixed player roster; roles cycle dynamically upon successful tags.
- Resource exhaustion: Fixed continuous bounding space.
- Termination guarantee: Monotonic progress of round timer guarantees match concludes within 3000 ticks.
## State representation
- Persistent state:
- `round_number`: Integer .
- `cumulative_chaser_time`: Map of Player ID float seconds.
- Per-tick ephemeral state:
- `round_clock`: Float seconds.
- `chaser_id`: Agent ID.
- `active_quarry_id`: Agent ID.
- `positions`: Map of Player ID .
- `velocities`: Map of Player ID .
- `immune_player_id`: Agent ID (or null).
- `immunity_ticks_remaining`: Integer.
- Observable information: Fully observable 2D coordinates, active quarry indicator, and immunity timer.
## Action space
- `designate_quarry(target_id)`: Chaser initial target selection.
- `steer_chase(target_id, vx, vy)`: Chaser pursuit motion.
- `evade(vx, vy)`: Quarry evasion sprint.
- `cross_pursuit_line(vx, vy)`: Free runner line-intersection dash.
## Playability notes
- Single-player-vs-AI: Brilliant cooperative evasion gameplay. When running, player strategically baits the chaser to save cornered teammates; when chasing, player anticipates runner crossing angles to trap unsuspecting rescuers.
- Group reduction: Reducible to 1 Chaser and 3 Runners (4 players).
- Physical-skill games: High-speed lateral cutting, momentum shifts, tactical field geometry, and sacrificial teamwork are modeled with 2D segment intersection physics.
- What is lost: The triumphant shout of *"Хрест!"* cutting across the meadow, breathless laughter, and the communal warmth of village brotherhood (*побратимство*).
## Implementation hints
2D continuous kinematic arena with 2D geometric segment-segment intersection detection each tick. First milestone: build target-locked chaser steering and segment crossing triggers before adding immunity windows and round time tracking.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Cross Tag (Ukrainian Intersecting Pursuit) (Ukraine). (n.d.). Games of Countries. https://gamesofcountries.com/games/ua-ukraine/khreshchyky
@misc{gamesofcountries-ua-ukraine-khreshchyky,
title = {Cross Tag (Ukrainian Intersecting Pursuit) (Ukraine)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ua-ukraine/khreshchyky}
}