Formal Specification
Bashi (Maldivian Overhead Racquet Ball) — Formal Specification
Maldives · ball-team · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 4
# Bashi — AI-optimized specification
## General idea
Bashi is an asymmetric ball-and-racquet court game where a serving agent strikes balls backwards over their head and across a high central net into an opposing court. The fielding team positions multiple agents to track ball trajectory and attempt mid-air catches before ground contact. Strategic depth revolves around the server's blind shot placement (angle, power, spin) versus the fielders' zone coverage and interception positioning.
## Formal model
- **Abstraction taken:** The overhead backward strike is modeled as a sampled 3D trajectory (landing coordinate , time-of-flight , and bounce vector) determined by the server's chosen strike parameters. Fielders execute positional interception algorithms.
- **Player/agent count:** 2 teams; 1 active server facing 7 to 11 fielding agents.
- **Turn model:** Sequential serves; each serve resolves as an independent trajectory-catching episode.
## Formal rules
R1. Setup: The fielding team distributes agents () across a rectangular reception court of size meters.
R2. On a serve, the server selects action parameters: `serve(target_x, target_y, power, spin)`.
R3. The engine computes ball trajectory with stochastic dispersion inversely proportional to server skill.
R4. Catch Resolution:
- If the ball lands outside the reception boundary, it is declared an out-of-bounds fault [gap-fill: 2 faults award 0 points and end server turn].
- If the ball lands inside bounds, every fielder whose reachable radius covers the landing coordinate attempts a catch.
- Catch success probability is .
R5. Scoring:
- If caught: Server is eliminated immediately (`kandee`), scoring 0 points for that ball.
- If uncaught and in-bounds: Serving team scores 1 point (`bashi`).
R6. [gap-fill] Inning structure: Each server receives up to 12 balls or until caught out. When all rostered servers have batted, teams swap sides for the second inning.
R7. Win Condition: The team with the highest aggregate points across two complete innings wins the match.
## Edge cases
- **Tie at the end condition:** [gap-fill] If total points are equal after 2 innings, each team selects one champion server for a 3-ball tiebreaker round.
- **A player with no legal move:** Not applicable; server always has a valid `serve()` parameter choice.
- **Repetition / cycles:** Impossible; the game strictly progresses through a finite list of servers and a fixed quota of 12 serves per server.
- **Simultaneous claims on the same resource or position:** If two fielders converge on the same landing point, the fielder with the closest arrival time attempts the primary catch; a collision penalty [gap-fill] reduces catch probability if arrival times differ by s.
- **Player elimination mid-round:** When a server is eliminated, the index advances to the next player on the team roster.
- **Resource exhaustion:** Roster and ball quotas are strictly finite.
- **Termination guarantee:** Guaranteed by the finite player count and serve cap per player.
## State representation
- **Persistent state:** Current inning (1 or 2), team scores, active server index, team rosters, elimination flags.
- **Per-turn ephemeral state:** Ball landing coordinate , time-of-flight , fielder initial coordinates, calculated catch probabilities.
- **Observable information:** Server observes historical fielder positions; fielders observe ball flight parameters after stroke execution.
## Action space
- `serve(target_x, target_y, speed, spin)`: Target coordinate within reception court, speed m/s, spin .
- `position_fielders(array_of_xy)`: Set resting defensive zone coordinates prior to serve.
## Playability notes
- **Single-player-vs-AI:** Natural; human player acts as server aiming at gaps in AI defensive zones, or controls the fielding captain optimizing coverage.
- **Group games (n>4):** Reduces cleanly to a 2-agent model where each agent commands a team.
- **Physical-skill games:** Overhead backward swing is mapped into a target-selection and dispersion model.
- **What is lost:** The visceral physical sensation of the blind backward overhead strike is replaced by probabilistic trajectory calculation.
## Implementation hints
Low complexity. The core is an analytical 2D point-interception check against expanding circular reach envelopes for fielders. Suggested milestone: create a static court viewer evaluating coverage heatmaps for various fielder placement heuristics.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Bashi (Maldivian Overhead Racquet Ball) (Maldives). (n.d.). Games of Countries. https://gamesofcountries.com/games/mv-maldives/bashi
@misc{gamesofcountries-mv-maldives-bashi,
title = {Bashi (Maldivian Overhead Racquet Ball) (Maldives)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/mv-maldives/bashi}
}