Skip to main content
Formal Specification

Hide-and-Seek (Moldovan De-a mijca & Base Tapping) — Formal Specification

Moldova · hide-seek · Confidence: medium

← Back to game page

Implementation 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 (R=35m) with line-of-sight raycasting and obstacle occlusion. Sprints to the central home base (0,0) are evaluated via deterministic spatial velocity integration. Total liberation resets the round state. - **Player/agent count:** 1 Seeker agent (S), K Hider agents (H1,…,HK, with K∈[3,19]). - **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 (0,0). Arena boundary is R=35m. - Seeker S remains anchored at (0,0) with zero vision for Tcount=30 ticks. - Hiders H1…HK 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 (vseeker≤3.5m/s) with a 120∘ forward vision field. - If an unoccluded ray connects Seeker to a `HIDDEN` hider Hj: - Seeker executes `spot_and_call(H_j)`. - Both S and Hj immediately sprint toward (0,0). R3. Base Race Resolution: - **Seeker Taps First:** If S reaches (0,0) first: - S executes `tap_base_capture(H_j)` (*"Ptiu, [Name]!"*). - Hj status becomes `CAPTURED` and is added to `captured_pool`. - **Hider Taps First:** If Hj reaches (0,0) first: - Hj executes `tap_base_self()` (*"Ptiu, mijca pentru mine!"*). - Hj status becomes `SAFE_SELF` and joins `safe_pool`. R4. Sneak Dash & Total Jailbreak (*Mijca pentru toți*): - Any `HIDDEN` hider Hk not currently spotted may execute `sneak_dash_to_base()`. - If Hk touches (0,0) before being spotted: - Hk submits `tap_base_all()` (*"Ptiu, mijca pentru toți!"*). - Hk 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 (0,0) to re-count for 20 ticks (capped at 2 total jailbreaks per round) [gap-fill]. R5. Round Conclusion & Role Rotation: - Round terminates when all K hiders are resolved into either `SAFE_SELF` or `CAPTURED` (or max timer Tmax=600s 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 →(x,y). - `hider_states`: Map of Hider ID →{HIDDEN,SPOTTED,CAPTURED,SAFE_SELF}. - `captured_pool`: List of Hider IDs. - `safe_pool`: List of Hider IDs. - `jailbreak_count`: Integer [0,2]. - Information set: - Seeker observes: Unoccluded terrain within 120∘ 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 (0,0). - `hold_cover()`: Hider passive concealment. - `sneak_dash_to_base()`: Hider all-out sprint to (0,0). - `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 (0,0) before adding the total liberation jailbreak reset logic.

Download as JSON

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

Download JSON
Cite 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}
}