Formal Specification
Georgian hide-and-seek — Formal Specification
Georgia · hide-seek · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 3
# Damalobana (დამალობანა) — AI-optimized specification
## General idea
A traditional Georgian base-tagging hide-and-seek game played in a bounded terrain around a central home base (*tsikhe*). The seeker counts with eyes closed while hiders conceal themselves; spotting a hider triggers a sprint race back to slap the base, and the final surviving hider possesses the special ability to liberate all captured teammates by striking the base first.
## Formal model
- **Abstraction taken:** The 2D outdoor environment is discretized into a bounded coordinate grid containing occluding cover obstacles and a designated Home Base at . Visual line-of-sight, stealth movement, and sprint races to the base are resolved via parameterized stochastic checks.
- **Player/agent count:** 1 Seeker agent (), Hider agents (, with ).
- **Turn model:** Sequential counting setup, followed by synchronous discrete time ticks during the active search and sprint phases.
## Formal rules
R1. Setup & Counting:
- Home Base is fixed at coordinates .
- Seeker remains stationary at and counts for ticks with zero visibility field.
- Hiders submit `move(dx, dy)` to occupy hiding positions behind cover.
- Hider statuses initialize to `HIDDEN`.
R2. Active Search & Detection:
- After expires, enters the search phase, moving up to speed .
- Each tick, for each `HIDDEN` hider , evaluate line-of-sight visibility and distance. If detected, becomes `SPOTTED`, initiating a Base Race (R3).
- An undetected hider may voluntarily initiate a stealth dash toward the base (`sneak_to_base()`), triggering a Base Race against the Seeker's return.
R3. Base Race Resolution:
- When a race is triggered between and , both agents sprint toward .
- **Outcome A (Seeker Wins):** reaches first, executing `slap_base_and_call(H_i)`. status becomes `CAUGHT` and is placed in the holding area at base.
- **Outcome B (Hider Wins — Self-Rescue):** reaches first, executing `slap_base_safe()`. status becomes permanently `SAFE`.
R4. Final Savior Rule (*Mshvelili* / *Yvelas vshveli*):
- When exactly 1 hider remains in `HIDDEN` status (and hiders are `CAUGHT`):
- If wins the race to base, executes `slap_base_liberate_all()`.
- All currently `CAUGHT` hiders immediately reset to `HIDDEN` and are granted a brief dispersal window of ticks to re-hide [gap-fill: Seeker must repeat count or remain at base during dispersal].
R5. Round Termination & Inning Transition:
- The round terminates when no `HIDDEN` hiders remain (all are either `CAUGHT` or `SAFE`).
- **Role Swap:** If hiders are `CAUGHT` at round end, the first hider caught (`first_caught_id`) becomes the new Seeker for the subsequent round.
- **Seeker Retention:** If all hiders achieved `SAFE` status (or successfully liberated the round), the current Seeker remains Seeker for the next game.
## Edge cases
- Tie at the end condition: If and reach the base on the exact same tick, the ruling favors the hider (awarding `SAFE`) [gap-fill].
- A player with no legal move: Not applicable; seeker searches or returns; hiders remain still or dash to base.
- Repetition / cycles: While total team liberations can reset hiders, each race carries a strictly positive capture probability.
- Simultaneous claims on the same position: Multiple hiders dashing to base are resolved in arrival order.
- Elimination mid-round and turn-order repair: Caught hiders wait passively at base; active search continues among remaining hidden agents.
- Resource exhaustion: Not applicable; spatial environment and agent pool are non-depleting.
- Termination guarantee: The play area is finite. Over repeated ticks, the hazard rate of spotting every hider approaches 1. Because `SAFE` status is irreversible and every race has a non-zero probability of seeker victory, the pool of candidates available for liberation shrinks until the round resolves in finite time. [gap-fill: a round timeout of ticks guarantees bounded termination].
## State representation
- Persistent state:
- `seeker_id`: Agent ID.
- `first_caught_id`: Agent ID or null.
- `round_number`: Integer.
- Per-tick ephemeral state:
- `positions`: Map of agent ID .
- `hider_status`: Map of Hider ID .
- `active_race`: Struct containing participating hider ID and tick start.
- Observable information: Seeker has zero visibility of `HIDDEN` hiders outside line-of-sight; Hiders observe Seeker's position to time dashes.
## Action space
- `count_at_base()`: Seeker setup action.
- `search_move(dx, dy)`: Seeker spatial navigation.
- `sprint_to_base()`: High-speed dash to for Seeker or Hider.
- `slap_base_and_call(hider_id)`: Seeker capture declaration at base.
- `slap_base_safe()`: Hider self-rescue at base.
- `slap_base_liberate_all()`: Final savior all-team rescue.
## Playability notes
- Single-player-vs-AI: Excellent stealth/evasion gameplay. Human player controls the final hider weighing the risk of saving captured comrades, or plays Seeker patrolling sightlines.
- Group reduction: Reducible to 1 Seeker and 2 Hiders.
- Physical-skill games: Real peripheral stealth, occlusion behind yard trees, and sprint acceleration are modeled as spatial raycasting and speed attributes.
- What is lost: The visceral heart-pounding terror of crouching in shrubbery while footsteps pass inches away, and shouting *"Pali-tolo yvelas!"* across the courtyard.
## Implementation hints
2D top-down grid with 2D raycasting line-of-sight checks. First milestone: implement hiding phase, seeker field-of-view sweep, and baseline sprint race before adding the all-liberation final savior logic.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Georgian hide-and-seek (Georgia). (n.d.). Games of Countries. https://gamesofcountries.com/games/ge-georgia/damalobana
@misc{gamesofcountries-ge-georgia-damalobana,
title = {Georgian hide-and-seek (Georgia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ge-georgia/damalobana}
}