Skip to main content
Formal Specification

Seven Tiles — Formal Specification

Lebanon · ball-team · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 3
# Al-Sab' Balatāt — AI-optimized specification ## General idea The traditional Lebanese seven-tiles street sport (*Al-Sab' Balatāt*). Attackers knock down a central stack of 7 flat ceramic tiles with a ball and must rebuild the 7-level stack while dodging ball throws from defenders who pass the ball to tag ("burn") them out. ## Formal model - **Abstraction taken:** Arena modeled as a 2D discrete grid. The 7 tiles are represented as a discrete stack counter S∈[0,7]. Ball passing and throwing modeled via grid raycasts. - **Player/agent count:** 2 teams (Tbuild,Thunt) of 4 to 8 agents. - **Turn model:** 1 Opening Knockdown Throw, followed by synchronized real-time state ticks. ## Formal rules R1. **Initial setup:** Central tile tower at (0,0) with height S=7. R2. **Opening throw:** Attackers take turns throwing ball from distance D=6m. - If all attackers miss: Inning ends, teams swap roles immediately with 0 points scored. - If hit occurs: Tower collapses (S=0), and chase phase commences. R3. **Real-time phase actions:** - **Builders (Tbuild):** Move on grid. At (0,0), can execute `stack_tile()`, increasing S←S+1. - **Hunters (Thunt):** Move on grid, execute `pass_ball(target_id)` or `throw_at(builder_id)`. Hunters holding the ball cannot move. R4. **Elimination:** If a builder is hit by a defender's ball throw below the waist, that builder is eliminated ("burned") for the round. R5. **Inning resolution:** - If S=7 is fully rebuilt: Tbuild scores 1 point and wins the inning; teams reset with Tbuild throwing. - If all builders are eliminated before S=7: Thunt wins the inning (scores 1 point, earns throwing role) [gap-fill]. R6. **Victory condition:** First team to achieve 5 points wins the match. R7. [gap-fill] Inning ceiling:** Maximum 150 ticks per inning. ## Edge cases - **Tie at the end condition:** If last builder is hit on exact tick of 7th tile placement, placement succeeds (builder victory) [gap-fill]. - **A player with no legal move:** Grid moves and passes always available. - **Repetition / cycles:** Bounded by 150 ticks per inning. - **Simultaneous claims:** Spatial coordinate occupancy resolves ties. - **Player elimination mid-round:** Eliminated builders enter spectator queue. - **Resource exhaustion:** 7 tiles and 1 ball are constant. - **Termination guarantee:** Provably terminates via 150-tick ceiling and 5-point match limit. ## State representation - **Persistent state:** `scores: Dict[Team, int]`, `throwing_team: Team`. - **Ephemeral state:** `tower_height: int \in [0,7]`, `ball_position: (x,y)`, `ball_holder: Optional[AgentID]`, `active_builders: Set[AgentID]`. - **Observable information:** Fully observable state. ## Action space - `move(dx, dy)`: Grid step. - `stack_tile()`: Valid for builder at (0,0). - `pass_ball(target_id)`: Hunter pass. - `throw_at(target_id)`: Hunter shot. ## Playability notes - **Single-player-vs-AI:** Operates as a fast-paced survival builder game against AI guards. - **Group games (n>4):** Native multi-agent team coordination. - **Physical-skill games:** Dodging agility and throwing accuracy abstracted into raycast probabilities. - **What is lost:** Tactile ceramic tile clinking and enthusiastic Lebanese street shouts (*"Balatāt!"*). ## Implementation hints Standard multi-agent grid game with vector raycast passing and tagging checks.

Download as JSON

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

Download JSON
Cite this page

Seven Tiles (Lebanon). (n.d.). Games of Countries. https://gamesofcountries.com/games/lb-lebanon/sab-balatat

@misc{gamesofcountries-lb-lebanon-sab-balatat,
  title = {Seven Tiles (Lebanon)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/lb-lebanon/sab-balatat}
}