Skip to main content
Formal Specification

Azerbaijani tip-cat — Formal Specification

Azerbaijan · stick-team · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Çilingağac — AI-optimized specification ## General idea A two-phase bat-and-peg game where a batter can be put out during the *initial launch* alone — caught on the fly, or hit on the resting bat by a return throw — before ever reaching the *tip-and-strike* phase, which carries its own separate three-miss-out rule. Distance is scored in discrete whole bat-lengths, not a continuous unit. ## Formal model - **Abstraction taken:** Continuous flight of the peg (`çiling`), fielder catching, throw accuracy, and swing distance are each abstracted into a single stochastic outcome roll per attempt, since the entry describes them qualitatively with no numeric model. - **Player/agent count:** 2 teams of 3-5 players (fixed batting order), or a 2-agent duel variant. - **Turn model:** Sequential — one batter is active at a time, proceeding through Phase 1 then (if not out) Phase 2, before control passes to the next batter in the lineup. ## Formal rules R1. Setup: the trench (`çala`) is established at home base; the batting team's lineup order is fixed; the fielding team disperses (entry §1). R2. Phase 1 launch (entry §2): the active batter submits `launch_flip()`, sending the `çiling` airborne to a stochastically-determined distance/hangtime, and lays the bat flat across the trench. R3. Catch resolution (entry §2.3): immediately after `launch_flip()`, resolve a stochastic `catch_attempt` for the nearest fielder(s). Success: the batter is out; control passes to the next batter (R7). R4. Return-throw resolution (entry §2.4-2.5): if R3 fails, the fielder holding the landed `çiling` submits `throw_at_bat()`; resolve a stochastic hit check. Success: the batter is out (R7). Failure: the batter proceeds to Phase 2 from the `çiling`'s resting spot. R5. Phase 2 tip-and-strike (entry §3): from the resting spot, the batter may submit up to 3 `tip_and_strike()` attempts in sequence (entry §3.3 notes 1-3 by region; the formal model fixes the cap at 3, the entry's own stated upper bound) [gap-fill: regional variance in the strike count is collapsed to one fixed parameter rather than a per-region variant]. Each attempt independently resolves a stochastic success/miss; a success sends the `çiling` to a stochastic struck distance and ends Phase 2; a miss consumes one of the 3 attempts. R6. Three-miss out (entry §5, explicit in the source): if all 3 `tip_and_strike()` attempts (R5) miss consecutively, the batter is out with no distance scored; control passes to R7. R7. Turn advance: when a batter is out (R3, R4, or R6), the next lineup batter becomes active and Phase 1 (R2) begins for them. When the entire lineup has been put out, teams swap batting/fielding roles and a new inning begins with the new batting team's lineup reset to its start. R8. Scoring (entry §4): when a Phase 2 attempt succeeds (R5), the distance from the trench to the peg's rest is measured in whole bat-lengths (`ağac boyu`, integer floor of continuous distance divided by bat length) and added to the batting team's running score. R9. Match length: the entry describes the inning/role-swap structure (R7) but specifies no number of innings or target score ending a full match [gap-fill: treated honestly as an external parameter — a match is a caller-supplied fixed number of innings or a first-to-score-threshold, neither of which the source specifies]. ## Edge cases - Tie at the end: not resolved by the entry, since no match-ending score threshold exists (R9); a genuine silence under an externally-supplied fixed-innings match. - A player with no legal move: not applicable — the active batter always has exactly one legal action at each step (`launch_flip` in Phase 1, `tip_and_strike` in Phase 2 while attempts remain). - Repetition / cycles: not applicable — each at-bat strictly consumes lineup progress (R7), and each Phase 2 sequence is capped at 3 attempts (R5-R6), so no state can recur indefinitely within an inning. - Simultaneous claims on one position: not applicable — only the single nearest fielder acts on a landed `çiling` (entry §2.4), so there is no contest over who fields it. - Elimination mid-round and turn-order repair: an out batter is removed from the active slot and the next lineup entry becomes active (R7); lineup order is never altered mid-inning. - Resource exhaustion: not applicable — no consumable resource; the `çiling` and bat are reused every at-bat. - Termination guarantee: each inning is provably bounded — the lineup has a fixed finite size, and every batter is put out in a bounded number of steps (Phase 1 resolves in at most 2 stochastic checks; Phase 2 resolves in at most 3 attempts, R5-R6), so an inning terminates in at most (lineup size) × (bounded per-batter steps). The full match's termination depends on the externally-supplied innings/score parameter from R9, outside what the source specifies but not undermining the per-inning guarantee. ## State representation - Persistent (match) state: `score[team]`, `lineup_position[team]`, `current_batting_team`. - Per-at-bat ephemeral state: `phase` (1 or 2), `attempts_used` (Phase 2 only, 0-3), `chiling_position`. - Observable information: fully observable — all players see the peg's position, the batter's phase, and both teams' scores at all times. ## Action space - `launch_flip()`: active batter only; precondition: `phase = 1`, batter not yet out this at-bat. - `catch_attempt()`: nearest fielder(s); triggered automatically after `launch_flip()`. - `throw_at_bat()`: the fielder holding the landed `çiling`; precondition: R3 failed. - `tip_and_strike()`: active batter only; precondition: `phase = 2`, `attempts_used < 3`. ## Playability notes - Single-player-vs-AI: workable as human-batter-vs-AI-fielders, alternating with the AI batting against human-controlled or algorithmic fielders each inning. - Reducing team size to a 2-player duel: the entry explicitly supports this ("2 individual players in duels"); Phase 1's catch/throw resolution uses the lone opposing player as the sole fielder. - Physical-skill games: catching, throw accuracy, and batting power/timing are the entire game and are collapsed into three stochastic checks; no genuine hand-eye coordination is modeled. - What is lost: the actual bat-flip launch technique, real fielding positioning and reaction, the social forfeit tradition (losing batters carried on winners' backs), and the specific regional variation in allowed strike count (fixed to 3 here). ## Implementation hints State space is small per at-bat (phase + attempt counter + position); the design difficulty is entirely in choosing the catch/throw/strike-distance probability distributions, none of which the source quantifies. First milestone: implement one full inning (lineup cycling through Phase 1/Phase 2 with flat stochastic parameters) and verify the score accumulates correctly in integer bat-lengths, before deciding on an external match-length convention (R9).

Download as JSON

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

Download JSON
Cite this page

Azerbaijani tip-cat (Azerbaijan). (n.d.). Games of Countries. https://gamesofcountries.com/games/az-azerbaijan/chilingaghaj

@misc{gamesofcountries-az-azerbaijan-chilingaghaj,
  title = {Azerbaijani tip-cat (Azerbaijan)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/az-azerbaijan/chilingaghaj}
}