Formal Specification
Tip-Cat / Wooden Peg and Striking Bat — Formal Specification
India · stick-team · Confidence: high
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Gilli-Danda — AI-optimized specification
## General idea
Gilli-Danda is an ancient Indian tip-cat street and field sport played with two hand-carved wooden implements: a long striking bat (*danda*) and a short double-tapered wooden peg (*gilli*). The batter levers the gilli into the air from a small base trench, survives a defensive return throw aimed at the resting danda, flips the gilli into the air with an angled tap, and strikes it into the outfield to score points proportional to the measured distance in danda-lengths.
## Formal model
- **Abstraction taken:** Continuous aerodynamics, projectile physics, and striking mechanics are replaced by parameterized stochastic outcome samplers conditioned on striker aim, power selection, and fielding positioning.
- **Player/agent count:** 2 teams () with players each (), or 2 individual players ().
- **Turn model:** Inning-based structure with sequential at-bats per batter until elimination.
## Formal rules
R1. **Match Structure & Inning Setup:**
- A match comprises 2 innings (or 1 inning per side).
- Batting team orders its players into a batting lineup .
- Active batter takes position at the base trench (*guchhi*). Fielders disperse in the outfield.
R2. **Phase 1 (The Flick / Launch):**
- Batter chooses launch power and launch angle .
- Launch outcome produces 2D landing coordinate and air time .
- **Fly Catch Check:** Defensive team fields the ball; .
- If caught on the fly: is "Out" (proceeds to next batter).
- If uncaught: gilli lands at , triggering Phase 2.
R3. **Phase 2 (The Target Throw at Danda):**
- Batter places the *danda* horizontally across the base trench (target area width ).
- Nearest fielder at throws the gilli toward the trench.
- **Hit Check:** .
- If hit: is "Out" immediately.
- If miss: gilli comes to rest at near the trench, triggering Phase 3.
R4. **Phase 3 (Tip-and-Strike / Tola):**
- Batter moves to the gilli's resting position .
- Batter executes a tip strike: .
- Batter is permitted up to 3 flip attempts. If all 3 fail, is "Out".
- While the gilli is airborne, batter chooses swing vector to strike it into the outfield.
- Struck gilli lands at final position .
- If caught on the fly by an outfielder: is "Out".
R5. **Phase 4 (Scoring and Measurement):**
- If the gilli lands safely uncaught at , the distance from the base trench to is measured in units of danda-lengths :
- The calculated integer score is added to 's cumulative total.
- Batter retains the batting position and repeats from Phase 1.
R6. **Inning and Match Resolution:**
- When batter is out, the next batter steps up.
- When all batters in are eliminated, the half-inning ends.
- Teams swap roles ().
- The team with the highest aggregate score wins the match.
- [gap-fill] In case of a tie after both innings, each team nominates 1 champion batter for a single-round sudden-death strike-off (highest single-hit distance wins).
## Edge cases
- **Tie at the end condition:** Handled by R6 (sudden-death single-hit strike-off).
- **A player with no legal move:** Not applicable — active batter always has valid launch and swing actions; fielders always have throw actions.
- **Repetition / cycles:** Batter's streak of successful hits is bounded by cumulative non-zero hazard probability of elimination per turn (). [gap-fill] An optional maximum limit of 50 consecutive scoring hits per batter caps unbounded turns.
- **Simultaneous claims on the same resource or position:** Not applicable — at-bat events resolve sequentially.
- **Player elimination mid-round; turn order repair:** Eliminated batter leaves the trench; turn advances to next indexed batter until lineup exhaustion.
- **Resource exhaustion (pieces, tokens, space, time):** Discrete -player lineup and fixed danda unit length.
- **Termination guarantee: why the game provably ends:** Inning ends strictly when all batters are put out; each at-bat cycle has strictly positive hazard probability of termination, guaranteeing almost-sure finite termination.
## State representation
- **Persistent state:**
- Inning index ; Active batting team ID.
- Lineup index .
- Team score totals .
- Batter attributes: .
- Fielder attributes: .
- **Per-at-bat ephemeral state:**
- .
- Current gilli coordinates .
- Failed tip attempts counter .
- **Observable information:** Fully observable game state.
## Action space
- `launch_gilli(power, angle)`: (Batter, Phase 1).
- `defensive_throw(target)`: (Fielder, Phase 2).
- `tip_flip()`: (Batter, Phase 3). Attempts to pop the gilli into the air.
- `aerial_strike(power, direction)`: (Batter, Phase 3). Hits the airborne gilli into the outfield.
## Playability notes
- **Single-player-vs-AI:** Highly engaging as an arcade/tactical batting game. The player selects risk/reward profiles on swing types and power while AI fielders adjust positioning.
- **Group games ():** 3v3 to 6v6 team structures reduce naturally to 1v1 (Active Batter vs Fielding Captain commanding outfield placement).
- **Physical-skill games:** Physical hand-eye coordination (flipping the peg and hitting it mid-air) is abstracted into a dual-stage probabilistic resolver .
- **What is lost in the adaptation:** The sharp acoustic *clack* of wood striking wood and the visceral thrill of fielding a spinning peg with bare hands.
## Implementation hints
- Model outfield as a 2D continuous coordinate plane with radial zones representing distance brackets in danda-lengths.
- Branching factor: Small and discrete: 3 launch types tip styles swing angles combinations per at-bat cycle.
- Obvious representational trap: Confusing Phase 1 (lever launch) with Phase 3 (tip flip); they are physically distinct striking mechanics with different failure conditions.
- Suggested first milestone: Implement the 4-phase state machine for a single batter with uniform probability stubs; verify distance calculation and out transitions.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Gilli-Danda (India). (n.d.). Games of Countries. https://gamesofcountries.com/games/in-india/gilli-danda
@misc{gamesofcountries-in-india-gilli-danda,
title = {Gilli-Danda (India)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/in-india/gilli-danda}
}