Formal Specification
Banyan Tree Ghost (Circle and Diameter Tag) — Formal Specification
Myanmar · chase-tag · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 3
# Nyaung-pin-tasae — AI-optimized specification
## General idea
A traditional moonlit circle-tag evasion game rooted in tree-spirit folklore. One player acts as the "Banyan Tree Ghost" (*Tasae*), restricted to patrolling along the outer circular boundary and a straight bisecting diameter line (the tree trunk and branches). The other players (Runners) dance inside the two safe semicircular halves, chanting taunting rhymes and darting across the diameter line without getting tagged by the ghost.
## Formal model
- **Abstraction taken:** The continuous circular court ( m diameter) is discretized onto a 2D coordinate grid with radius centered at . The Ghost is mathematically constrained to coordinates satisfying (circumference) OR for (diameter spine line). Runners may occupy any interior cell with and .
- **Player/agent count:** 1 Ghost agent and Runner agents .
- **Turn model:** Synchronous discrete simulation ticks .
## Formal rules
R1. **Court & Initial Positions:**
- Ghost starts at on the boundary line.
- Runners start distributed within the left () and right () interior semicircles.
- Each Runner maintains a mandatory crossing timer .
R2. **Movement Constraints:**
- *Ghost:* Speed = 1 grid step per tick. Must always occupy a cell such that .
- *Runners:* Speed = 1 grid step per tick within the interior disk ().
R3. **Mandatory Crossing Rule:**
- To prevent permanent stalling in safe corners, every Runner must cross from one semicircular half to the other across at least once every ticks.
- If a Runner's crossing timer reaches without crossing, that Runner is forced to take shortest-path steps toward on subsequent ticks until crossing is completed [gap-fill].
R4. **Tagging & Capture Mechanics:**
- A tag occurs at tick if the Euclidean distance between Ghost (standing on a legal line cell) and any Runner satisfies .
- If a tag occurs: Runner is **Captured** (*Mi-the*); the round ends immediately.
- becomes the Ghost for the subsequent round.
R5. **Round End & Survival Victory:**
- If no Runner is tagged after ticks, the Runners win the round; the Ghost remains Ghost for another round (*Danda-khat* penalty).
R6. [gap-fill] Multi-Round Match Score:** A full match consists of rounds. Each runner accumulates point for every round completed as an uncaught human. The player with the highest score at match end wins.
## Edge cases
- Tie at the end condition: Standard round ends cleanly on first tag or tick expiration. In multi-round tournament play, tied scores share the victory or play a 1-round sudden-death playoff [gap-fill].
- A player with no legal move: Not applicable; staying stationary or moving in any legal cardinal direction is always valid.
- Repetition / cycles: Runners circling within a semicircle are forced to engage the diameter line by the mandatory crossing counter in R3, and bounded by .
- Simultaneous claims on the same resource or position: Runners can co-locate in interior cells. Multiple simultaneous tags in one tick all trigger the single round-end event (with lowest-ID runner becoming the new Ghost).
- Player elimination mid-round; turn order repair: If an individual runner disconnects, they are removed from the active set; the round continues with remaining runners without modifying the simulation loop.
- Resource exhaustion (pieces, tokens, space, time): The circular court is spatially bounded (); match ticks bounded at .
- Termination guarantee: why the game provably ends: Guaranteed by monotonic tick progression in every round.
## State representation
- **Persistent state:** Number of players , current round , match scores , active Ghost ID.
- **Per-turn ephemeral state:** Tick , agent positions , runner crossing timers , round active flag.
- **Observable information:** Fully observable; all player positions, line markings, and crossing timers are public knowledge.
## Action space
- **Ghost Actions:** `move(direction)` where `direction` .
- **Runner Actions:** `move(direction)` where `direction` .
## Playability notes
- Single-player-vs-AI: Very dynamic; human player operates the Ghost cutting across the central diameter to intercept dodging AI runners, or plays a runner timing crossing sprints.
- Group games (n>4): Natively accommodates 4 to 12 agents in a discrete spatial gym environment.
- Physical-skill games: Peripheral vision, vocal taunting, and sprint agility are discretized into line traversal constraints and crossing countdowns.
- What is lost in the adaptation: The atmospheric moonlight setting, traditional Burmese singing chants (*Nyaung-pin-tasae way lay lay...*), and physical tagging contact.
## Implementation hints
Low complexity. The 2D geometry is easily encoded as a graph where Ghost nodes form a "theta" () graph (circle plus diameter) and Runner nodes form two interior cell meshes. First milestone: implement 1 Ghost vs 2 Runners on a graph court and verify line constraints and tag detection.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Banyan Tree Ghost (Circle and Diameter Tag) (Myanmar). (n.d.). Games of Countries. https://gamesofcountries.com/games/mm-myanmar/nyaung-pin-tasae
@misc{gamesofcountries-mm-myanmar-nyaung-pin-tasae,
title = {Banyan Tree Ghost (Circle and Diameter Tag) (Myanmar)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/mm-myanmar/nyaung-pin-tasae}
}