Formal Specification
Hide-and-Seek (Moldovan De-a mijca & Base Tapping) — Formal Specification
Moldova · hide-seek · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# De-a mijca (De-a mijca) — AI-optimized specification
## General idea
The foundational Moldovan hide-and-seek and base-tapping game. A designated Seeker (*Mijcătorul*) buries their face against a base tree (*cuibul*) to count while others hide across the terrain. When spotting a hider, both race back to tap the base. Undetected hiders can execute high-risk sneak sprints to tap the base and shout *«Mijca pentru toți!»* ("Mijca for all!"), instantly liberating all captured comrades.
## Formal model
- **Abstraction taken:** 2D continuous/grid environment () with line-of-sight raycasting and obstacle occlusion. Sprints to the central home base are evaluated via deterministic spatial velocity integration. Total liberation resets the round state.
- **Player/agent count:** 1 Seeker agent (), Hider agents (, with ).
- **Turn model:** Countdown phase followed by synchronous discrete time ticks (1 tick = 0.5 seconds).
## Formal rules
R1. Setup & Countdown Phase:
- Base *cuib* is located at . Arena boundary is .
- Seeker remains anchored at with zero vision for ticks.
- Hiders scatter and conceal behind terrain obstacles. Initial statuses: `HIDDEN`.
- `captured_pool = []`, `safe_pool = []`, `jailbreak_count = 0`.
R2. Patrol & Line-of-Sight Detection:
- After countdown, Seeker patrols () with a forward vision field.
- If an unoccluded ray connects Seeker to a `HIDDEN` hider :
- Seeker executes `spot_and_call(H_j)`.
- Both and immediately sprint toward .
R3. Base Race Resolution:
- **Seeker Taps First:** If reaches first:
- executes `tap_base_capture(H_j)` (*"Ptiu, [Name]!"*).
- status becomes `CAPTURED` and is added to `captured_pool`.
- **Hider Taps First:** If reaches first:
- executes `tap_base_self()` (*"Ptiu, mijca pentru mine!"*).
- status becomes `SAFE_SELF` and joins `safe_pool`.
R4. Sneak Dash & Total Jailbreak (*Mijca pentru toți*):
- Any `HIDDEN` hider not currently spotted may execute `sneak_dash_to_base()`.
- If touches before being spotted:
- submits `tap_base_all()` (*"Ptiu, mijca pentru toți!"*).
- becomes `SAFE_SELF`.
- **Total Liberation:** All agents in `captured_pool` are liberated (`status = HIDDEN`), `captured_pool` is emptied, and `jailbreak_count += 1`.
- Seeker is forced back to to re-count for 20 ticks (capped at 2 total jailbreaks per round) [gap-fill].
R5. Round Conclusion & Role Rotation:
- Round terminates when all hiders are resolved into either `SAFE_SELF` or `CAPTURED` (or max timer expires).
- If `captured_pool` is non-empty: The first player captured becomes the new Seeker for the next round.
- If `captured_pool` is empty (all safe): The current Seeker must serve as Seeker again.
## Edge cases
- Tie at the end condition: If Seeker and Hider reach base on the identical tick, the hider is granted the tiebreak (safe) [gap-fill].
- A player with no legal move: Not applicable; seeker patrols/calls; hiders wait or sprint.
- Repetition / cycles: Capping jailbreak resets to at most 2 per round guarantees monotonic progression toward resolution.
- Simultaneous claims on the same position: Base arrival timestamps are evaluated sequentially.
- Elimination mid-round and turn-order repair: Captured hiders wait passively at base until liberated or round ends.
- Resource exhaustion: Fixed number of players and indestructible obstacles.
- Termination guarantee: Because each patrol tick reduces unsearched terrain and jailbreaks are strictly capped at 2, every round terminates deterministically within at most 1200 ticks (600 seconds).
## State representation
- Persistent state:
- `round_number`: Integer.
- `seeker_id`: Agent ID.
- `first_captured_id`: Agent ID or null.
- Per-tick ephemeral state:
- `positions`: Map of Agent ID .
- `hider_states`: Map of Hider ID .
- `captured_pool`: List of Hider IDs.
- `safe_pool`: List of Hider IDs.
- `jailbreak_count`: Integer .
- Information set:
- Seeker observes: Unoccluded terrain within vision cone, base position, captured pool.
- Hiders observe: Seeker position and facing vector, base distance, teammates' status.
## Action space
- `patrol_move(dx, dy, facing_angle)`: Seeker navigation.
- `spot_and_call(target_id)`: Seeker base-race trigger.
- `tap_base_capture(target_id)`: Seeker capture command at .
- `hold_cover()`: Hider passive concealment.
- `sneak_dash_to_base()`: Hider all-out sprint to .
- `tap_base_self()`: Hider personal immunity claim.
- `tap_base_all()`: Hider total jailbreak trigger.
## Playability notes
- Single-player-vs-AI: The ultimate childhood stealth/racing game. Playing as the Seeker demands strategic patrol routes balancing base defense with deep searching; playing as a Hider delivers huge tension when deciding whether to dash for personal safety or risk everything for the glorious all-rescue.
- Group reduction: Reducible to 1 Seeker and 3 Hiders.
- Physical-skill games: Peripheral vision behind tree trunks, sprint acceleration, and timing the base dash behind the seeker's back are modeled via raycasts and arrival velocity.
- What is lost: The smell of dried summer grass, the scraping of knees against bark, and the ecstatic shout *"Ptiu, mijca pentru toți!"* as prisoners scatter in wild joy.
## Implementation hints
2D continuous top-down arena with polygonal obstacle occlusion raycasting and distance-to-base arrival timers. First milestone: implement basic hide-and-seek detection and sprint races to before adding the total liberation jailbreak reset logic.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Hide-and-Seek (Moldovan De-a mijca & Base Tapping) (Moldova). (n.d.). Games of Countries. https://gamesofcountries.com/games/md-moldova/de-a-mijca
@misc{gamesofcountries-md-moldova-de-a-mijca,
title = {Hide-and-Seek (Moldovan De-a mijca & Base Tapping) (Moldova)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/md-moldova/de-a-mijca}
}