Skip to main content
Formal Specification

Wood Tag — Formal Specification

Estonia · chase-tag · Confidence: high

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 7
# Puukull (Wood Tag) — AI-optimized specification ## General idea A high-tempo territorial pursuit game where multiple runners evade a single tagger ("hawk") across a field peppered with wooden sanctuary objects (trees). Runners enjoy temporary immunity while touching wood, but strict anti-camping timers force continuous movement between trees, creating windows of vulnerability for the tagger. ## Formal model - **Abstraction taken:** The wooded park or yard is modeled as a 2D topological grid containing M discrete wooden sanctuary cells (T1…TM). Physical touch is modeled as cell occupancy/adjacency, and anti-camping constraints are enforced via individual sanctuary countdown timers. - **Player/agent count:** 1 Tagger agent (K), N Runner agents (R1…RN, N≥2). Total agents =N+1. - **Turn model:** Synchronous discrete ticks in a continuous rolling succession. ## Formal rules R1. Setup: - 2D grid of size W×H containing M sanctuary tree cells T={t1,…,tM} [gap-fill: tree density parameterized as M=max⁡(3,⌊N/2⌋+1)]. - 1 agent is assigned role `TAGGER` at origin (0,0) with a 10-tick initial countdown lock to allow runners to disperse. - N agents start as `RUNNER` distributed across non-tree cells. R2. Movement Dynamics: - Each tick, all agents submit simultaneous 2D movement vectors: - Tagger moves up to vtagger=1.5 cells/tick (L1 norm ≤1.5) [gap-fill: tagger speed fixed at 1.5 cells/tick]. - Runners move up to vrunner=1.0 cells/tick. R3. Wood Sanctuary Immunity (*Puu peal prii*): - A Runner occupying or adjacent (d≤1.0) to a sanctuary cell tk enters status `SAFE`. - While `SAFE`, the runner cannot be tagged by the Tagger. R4. Anti-Camping Mechanics: - An agent may remain `SAFE` at a specific tree tk for at most Tsafe_max=8 continuous ticks [gap-fill: safe duration limit set to 8 ticks]. - When the timer expires, the runner's status reverts to `VULNERABLE`, and tree tk becomes blocked for that runner until they visit a distinct tree tm≠tk. R5. Tagging & Role Transfer: - If the Tagger occupies the same cell or is Manhattan-adjacent (d≤1.0) to a `VULNERABLE` runner Ri: 1. Runner Ri immediately transitions to `TAGGER`. 2. The former tagger transitions to `RUNNER` and is granted a mandatory grace period of Tgrace=3 ticks of complete immunity (`GRACE_IMMUNITY`) to sprint away. 3. The new Tagger is placed in a 1-tick reaction delay [gap-fill: 1-tick delay to prevent instant re-tagging]. R6. Session Termination and Scoring: - [gap-fill: The session runs for a fixed duration Tsession=300 ticks; agents are ranked by least cumulative ticks spent in the `TAGGER` role]. ## Edge cases - Tie at the end condition: If two agents spend identical ticks as Tagger, the agent who was Tagger less recently wins [gap-fill: recency tiebreaker]. - A player with no legal move: Not applicable; agents always have valid movement or stay actions. - Repetition / cycles: Anti-camping timers (R4) prevent static stalemate camping; the global session tick cap Tsession guarantees termination. - Simultaneous claims on the same resource or position: Multiple runners can share the same tree cell; immunity applies individually to each occupant. - Player elimination mid-round; turn order repair: Role transfer swaps roles without eliminating agents; dynamic dropouts simply remove the runner without affecting tag state. - Resource exhaustion: Not applicable; tree sanctuaries are non-depleting and permanent. - Termination guarantee: Enforced by the finite session limit Tsession [gap-fill: termination guarantee via session timer]. ## State representation - Persistent state: - `tagger_id`: Agent ID currently holding the tag. - `time_as_tagger`: Map of Agent ID →Integer cumulative ticks. - `session_tick`: Current tick t∈[1,Tsession]. - Per-tick ephemeral state: - `positions`: Map of Agent ID →(x,y). - `tree_timers`: Map of (Runner ID, Tree ID) → Remaining safe ticks. - `last_visited_tree`: Map of Runner ID → Tree ID. - `grace_timers`: Map of Runner ID →Integer tgrace. - Observable information: Fully observable 2D positions of all agents, trees, active tagger identity, and visible grace/safe statuses. ## Action space - `move(dx, dy)`: Move by displacement within agent velocity limit. - `rest()`: Remain stationary. ## Playability notes - Single-player-vs-AI: Highly fluid real-time tactical pursuit game. Human plays Runner pathfinding between trees while reading AI tagger interception lines, or human plays Tagger herding AI runners away from sanctuaries. - Group games (n>4): Reduces to 1 Tagger vs 1 Runner (2 agents) cleanly, creating an intense tree-to-tree sprint duel. - Physical-skill games: Sprint stamina and tree-touching agility are abstracted into velocity differentials and discrete contact zones. - What is lost in the adaptation: The tactile slap of bark against hands, physical diving onto tree roots, and breathless playground laughter. ## Implementation hints Model trees as static obstacle/sanctuary points. First milestone: Implement simultaneous grid movement, tree proximity checks, and tag transfer with grace immunity before adding multi-tree cooldown tracking.

Download as JSON

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

Download JSON
Cite this page

Wood Tag (Estonia). (n.d.). Games of Countries. https://gamesofcountries.com/games/ee-estonia/puukull

@misc{gamesofcountries-ee-estonia-puukull,
  title = {Wood Tag (Estonia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ee-estonia/puukull}
}