Skip to main content
Formal Specification

Freeze Tag (Frozen-Melted) — Formal Specification

Albania · chase-tag · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 3
# Ngriva-shkriva — AI-optimized specification ## General idea A multi-agent pursuit, evasion, and cooperative rescue game on a 2D bounded grid. A Chaser agent attempts to freeze all Runner agents simultaneously. Runners can invoke a stationary freeze state to avoid being tagged, but require an active teammate to navigate to their cell and execute an unfreeze action to restore mobility. ## Formal model - **Abstraction taken:** The 2D outdoor field is modeled as a discrete grid `[-10..10] × [-10..10]`. Time proceeds in discrete ticks. - **Player/agent count:** `N + 1` agents (1 Chaser, `N` Runners, default `N = 4`). - **Turn model:** Simultaneous tick-based execution (`t = 1, 2, ...`). ## Formal rules R1. Setup: 2D grid `[-10..10] × [-10..10]`. Chaser starts at `(0, 0)`. Runners `1..N` start at distinct coordinates with `||pos|| >= 5.0` and `status = ACTIVE`. R2. Speed and Action per Tick: - Chaser speed: moves up to `1.2` units/tick [gap-fill: chaser speed premium]. - Active Runner speed: moves up to `1.0` unit/tick. - An active Runner may choose `ACTION_FREEZE` at any tick, transitioning to `status = FROZEN`. R3. Chaser Tagging: - If distance `||pos_chaser - pos_runner_i|| <= 0.8`: - If `status[runner_i] == ACTIVE`: `runner_i` is tagged and transitions to `status = FROZEN`. - If `status[runner_i] == FROZEN`: Chaser cannot interact (frozen players are immune). R4. Cooperative Rescue (Unfreezing): - If an active Runner `j` comes within distance `||pos_runner_j - pos_runner_i|| <= 0.8` of a frozen runner `i` and executes `ACTION_UNFREEZE`: - `runner_i` transitions to `status = ACTIVE`. R5. Win and Termination: - Chaser wins if `count(status == FROZEN) == N` (all runners are frozen simultaneously). - Runners win if at least one runner remains `ACTIVE` at `t >= T_max = 300` ticks [gap-fill]. R6. [gap-fill] Anti-camping constraint: If Chaser stays within `||pos_chaser - pos_runner_i|| <= 2.0` of a frozen runner for > 15 consecutive ticks, Chaser receives a 5-tick immobilization penalty. ## Edge cases - Tie at the end condition: Not applicable; either all runners freeze before `T_max` (Chaser win) or time expires (Runners win). - A player with no legal move: Frozen agents can only emit idle/unfreeze requests; active agents always have legal directional vectors. - Repetition / cycles: Bounded strictly by the global tick horizon `T_max = 300`. - Simultaneous claims on the same resource or position: Resolved by R3/R4 distance thresholds evaluated simultaneously per tick. - Player elimination mid-round; turn order repair: Frozen players remain in the state machine at their locked coordinates. - Resource exhaustion (pieces, tokens, space, time): Bounded by finite grid and `T_max`. - Termination guarantee: why the game provably ends: Guaranteed because tick clock monotonically reaches `T_max = 300`. ## State representation - Persistent state: `chaser_id: int`, `round_num: int`. - Per-turn ephemeral state: `agent_positions: array[N+1] of (float, float)`, `agent_status: array[N] of {ACTIVE, FROZEN}`, `camping_timer: int`, `tick_clock: int`. - Observable information: Fully observable by all agents. ## Action space - `move_chaser(vector: (float, float))`: Chaser movement (`||vector|| <= 1.2`). - `move_runner(vector: (float, float))`: Runner movement (`||vector|| <= 1.0`). - `freeze()`: Active runner self-freeze action. - `unfreeze(target_id: int)`: Active runner rescue action. ## Playability notes - Single-player-vs-AI: Natural; player controls the Chaser trying to corner AI runners, or controls a Runner cooperating with AI teammates. - Group games (n>4): Fully supported; emergent cooperative rescue behaviors arise naturally. - Physical-skill games: Verbal shouting and sprinting stamina are discretized into grid speeds and proximity triggers. - What is lost in the adaptation: The sudden physical drama of diving to touch a friend's shoe while dodging the chaser's outstretched hand. ## Implementation hints Discrete 2D continuous-coordinate simulation with tick loop. Branching factor is continuous 2D steering. First milestone: Implement Chaser pursuit logic, runner freeze toggle, and teammate unfreeze collision check.

Download as JSON

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

Download JSON
Cite this page

Freeze Tag (Frozen-Melted) (Albania). (n.d.). Games of Countries. https://gamesofcountries.com/games/al-albania/ngriva-shkriva

@misc{gamesofcountries-al-albania-ngriva-shkriva,
  title = {Freeze Tag (Frozen-Melted) (Albania)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/al-albania/ngriva-shkriva}
}