Skip to main content
Formal Specification

Emirati Palm-Branch Tip-Cat Game — Formal Specification

Uae · stick-team · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Al-Tabba — AI-optimized specification ## General idea A traditional bat-and-peg tip-cat game where batters flip and strike a wooden peg from a stone base, navigate fielder catching/throwing responses, and execute multi-stage aerial strikes to maximize cumulative distance measured in bat-lengths. ## Formal model - **Abstraction taken:** The field is modeled as a 1D distance axis `x >= 0`. Palm bat length is normalized to `1.0 unit` (`0.75m`). Batting impulses, fielder catches, and base throws are evaluated via parameterized stochastic functions. - **Player/agent count:** 2 teams of `K` agents (`2 <= K <= 5`). Team 0 = Batting Team, Team 1 = Fielding Team. - **Turn model:** Sequential phase-based progression per batter. ## Formal rules R1. Base Setup: - Base is located at `x = 0`. Bat length `1 TB = 1.0 unit`. - Active batter index `b ∈ [0..K-1]`. R2. Opening Launch: - Batter executes `launch_peg()`. - `x_land = random_uniform(10, 35) * batting_skill(b)`. R3. Fielding Checks: - Mid-air catch check: `P(catch) = max(0.05, sum(fielding_skill(f) * proximity(f, x_land)))`. [gap-fill] - If caught: `batter_out = true`, advance to next batter. - If missed: Fielder at `x_land` executes `throw_at_base()`. - `P(hit_base) = max(0.05, aim_skill(f) * (1.0 - x_land / 50.0))`. [gap-fill] - If hit: `batter_out = true`, advance to next batter. R4. Aerial Striking Phase: - If base throw misses, batter at `x_land` executes up to 3 aerial strikes: `strike_midair(strike_num)`. - For each strike `i ∈ {1, 2, 3}`: - `P(hit) = batting_skill(b) * (0.80 - 0.10 * (i - 1))`. - If successful: `x_land += random_uniform(5, 20) * batting_skill(b)`. - If missed: Aerial phase terminates. R5. Scoring and Inversion: - Batting team scores `floor(x_land / 1.0)` points. - When all `K` batters are out, roles invert. Match ends after 2 complete innings. ## Edge cases - **Tie at the end condition:** Sudden-death single batter playoff per team breaks ties. - **A player with no legal move:** Fielders only act during projectile flight. - **Repetition / cycles:** Bounded by finite innings (2) and finite batters per team. - **Simultaneous claims on catch:** Closest fielder to landing coordinate claims attempt. - **Player elimination mid-round:** Batters who are out sit out until team role inversion. - **Resource exhaustion:** Not applicable. - **Termination guarantee:** Guaranteed by finite innings and finite batters per inning. ## State representation - **Persistent state:** - `scores: Tuple[int, int]`. - `current_inning: int` (1..2). - `active_team: int`. - `batter_idx: int`. - **Ephemeral round state:** - `phase: enum {LAUNCH, CATCH_CHECK, BASE_THROW, AERIAL_STRIKES, SCORING}`. - `peg_distance: float`. - `strike_counter: int`. - **Information set:** Fully observable common knowledge. ## Action space - `launch_peg()`: Precondition: `phase == LAUNCH`, active batter. - `attempt_catch(fielder_id)`: Precondition: `phase == CATCH_CHECK`. - `throw_at_base(fielder_id)`: Precondition: `phase == BASE_THROW`. - `strike_midair()`: Precondition: `phase == AERIAL_STRIKES`, `strike_counter < 3`. - `pass_strike()`: Precondition: `phase == AERIAL_STRIKES`, lock in current distance. ## Playability notes - **Single-player-vs-AI:** Highly playable. Models launch trajectory control and risk-reward decisions on successive aerial strikes. - **Group games:** Scales naturally from 2v2 to 5v5. - **Physical-skill model:** Hand-eye coordination and stick timing are abstracted into stochastic distributions. - **What is lost:** Palm-frond grip feel and erratic bounces of natural wooden pegs. ## Implementation hints Model field as 1D scalar line with fielder distribution sectors. Ensure `pass_strike()` allows batter to bank score safely.

Download as JSON

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

Download JSON
Cite this page

Emirati Palm-Branch Tip-Cat Game (Uae). (n.d.). Games of Countries. https://gamesofcountries.com/games/ae-uae/al-tabba

@misc{gamesofcountries-ae-uae-al-tabba,
  title = {Emirati Palm-Branch Tip-Cat Game (Uae)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ae-uae/al-tabba}
}