Skip to main content
Formal Specification

Stoolball ("Cricket in the Air") — Formal Specification

United Kingdom · ball-team · Confidence: high

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Stoolball — AI-optimized specification ## General idea An asymmetric innings-based bat-and-ball contest where a batting pair defends two elevated 1-foot square wooden target boards against full-toss underarm bowling delivered from 10 yards. Unlike cricket, the ball must arrive without bouncing, resulting in rapid flat-trajectory aerial exchanges and direct target-board dismissals. ## Formal model - **Abstraction taken:** Continuous ball flight and fielding geometry are discretized into a polar field map (8 directional sectors and 3 radial depth rings). An over comprises exactly 8 legal deliveries. The bowler selects delivery vector and pace; the batter selects shot angle, elevation, and power. - **Player/agent count:** 2 teams of 11 agents (1 bowler, 1 keeper, 9 fielders vs. 2 active batters). - **Turn model:** Sequential deliveries within 8-ball overs across 12-over innings. ## Formal rules R1. **Match Structure:** 2 innings (Team A bats / Team B fields, then reverse). Each innings consists of 12 overs of 8 legal balls (maximum 96 deliveries). R2. **Delivery Phase:** The active bowler chooses parameters: - `bowl(speed: float in [15.0, 25.0], target_x: float in [-0.5, 0.5], target_z: float in [1.0, 1.4])` - [gap-fill] No-Ball: If `target_z < 0.9` (ground bounce) or `target_z > 1.6` (above shoulder), delivery is ruled a No-Ball (1 run to batting team, ball must be re-bowled). R3. **Batting Phase:** The facing batter declares: - `swing(power: float in [0.0, 1.0], shot_sector: int in [0..7], elevation: float in [0.0, 45.0])` - `leave()`: Batter chooses not to strike. R4. **Outcome Resolution:** - If `leave()` or complete swing miss: - If ball trajectory intersects the 1x1 ft target board: Batter is **Bowled** (out). - Else: Ball caught by wicketkeeper; 0 runs scored. - If swing makes contact: - Ball travels to chosen `shot_sector` and distance `d = f(power, swing_timing)`. - If caught on the fly by a fielder positioned in that sector: Batter is **Caught** (out). - If ball clears field boundary (d > 40m) on fly: 6 runs. If d > 40m on ground: 4 runs. - If fielded in play: Batting pair decides `attempt_run(runs: int in [1..3])`. Fielders resolve throwing time to hit target board. If throw time < run time: Batter is **Run Out** (out); else: runs added to total. R5. **Innings Termination:** Innings ends when 10 wickets have fallen OR 12 overs (96 legal balls) have elapsed. R6. **Match Victory:** Team B in the second innings wins immediately upon exceeding Team A's total runs. If Team B's innings ends with fewer runs, Team A wins. If scores are equal, the match is a Draw. ## Edge cases - **Tie at the end condition:** Innings completed with equal aggregate runs results in an official Draw, or [gap-fill] a 1-over (8-ball) eliminator. - **A player with no legal move:** Not applicable; legal delivery and batting actions are always available. - **Repetition / cycles:** Bounded by strict 8-ball over counters and 12-over ceiling. - **Simultaneous claims on the same resource:** When a run-out occurs, the nearest non-grounded batter is dismissed. - **Player elimination mid-round:** When a batter is dismissed, the next batter in the batting order replaces them; when 10 dismissals occur, the innings terminates. - **Resource exhaustion:** Overs and wickets are finite countdowns. - **Termination guarantee:** Guaranteed by monotone decrement of balls remaining and wickets remaining. ## State representation - **Persistent state:** `innings: int (1 or 2)`, `team_runs: [int, int]`, `team_wickets: [int, int]`, `overs_bowled: int`, `balls_in_over: int`, `batter_striker_id: int`, `batter_nonstriker_id: int`. - **Per-delivery ephemeral state:** Ball flight parameters, fielder reaction time, run attempt status. - **Observable information:** Complete public scorecard; fielder spatial placements are public before delivery. ## Action space - `bowl(speed, target_x, target_z)`: Bowler targeting. - `swing(power, shot_sector, elevation)`: Batter timing and placement. - `attempt_run(count)`: Running decision between wickets. ## Playability notes - **Single-player-vs-AI:** Highly engaging tactical cricket-like game; human manages fielding placement or batting stroke selection. - **Group games reduction (2-agent form):** Easily reduced to 1v1 where each agent acts as the Captain/Batter/Bowler. - **Physical-skill games:** Underarm bowling trajectory and paddle striking sweet-spot modeled via stochastic Gaussian dispersion. - **What is lost in the adaptation:** The physical sprint on dew-laden grass and the authentic wood-on-paddle resonance. ## Implementation hints - Moderate state complexity; standard discrete-event sports simulator architecture. - First milestone: Implement single-batter vs. bowler engine tracking 8-ball overs, bowled dismissals, and boundary runs.

Download as JSON

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

Download JSON
Cite this page

Stoolball ("Cricket in the Air") (United Kingdom). (n.d.). Games of Countries. https://gamesofcountries.com/games/gb-united-kingdom/stoolball

@misc{gamesofcountries-gb-united-kingdom-stoolball,
  title = {Stoolball ("Cricket in the Air") (United Kingdom)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/gb-united-kingdom/stoolball}
}