Formal Specification
The Little Starling (Slovak Tip-Cat) — Formal Specification
Slovakia · stick-team · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 4
# Hra na špačka — AI-optimized specification
## General idea
A turn-based bat-and-peg contest where a batter executes a two-phase physical strike (popping a double-tapered wooden peg and driving it into an open field), while fielders attempt to intercept the projectile or return-throw it to hit the home base. Points accumulate based on field distance measured in bat-lengths, creating a bluffing and distance-estimation challenge.
## Formal model
- **Abstraction taken:** The two-stroke physical launch and mid-air trajectory are modeled as a parameterized stochastic event `P(clean_hit, distance, direction) = f(batter_skill, risk_level)`. Fielding catches and return-throws are resolved via distance-dependent probability distributions. [gap-fill] Standardized inning limit is set to 3 full innings per side.
- **Player/agent count:** 2 teams of N agents (1 to 8). In 1v1 mode, 1 batter faces 1 fielder.
- **Turn model:** Sequential turns within innings. Batters step up in fixed batting order; innings switch when all batters are eliminated or record 3 team outs.
## Formal rules
R1. Setup: Each team selects a batting order. Inning count is fixed at 3 [gap-fill]. The score begins at 0–0.
R2. Batter turn: The active batter selects a swing power `P \in [1, 5]`.
R3. Pop & strike resolution: The outcome is sampled:
- Miss (whiff): Counts as 1 strike. 3 strikes eliminate the batter (Out).
- Fair hit: Produces distance and angle .
R4. Fielding catch resolution: Nearest fielder agent attempts a catch with probability .
- If caught: Batter is immediately Out; 0 points awarded; turn advances to next batter.
- If not caught: The peg lands at distance .
R5. Return-throw resolution: The retrieving fielder attempts a return throw to strike the home base:
- .
- If base is hit: Batter is Out; 0 points awarded.
- If base is missed: Scoring phase initiates.
R6. Scoring claim: The batter claims a distance estimate in bat lengths. The fielding team may accept or challenge:
- If accepted: Batting team adds to their cumulative score.
- If challenged: True distance is revealed. If , batting team scores plus a 5-point challenge bonus [gap-fill]. If , the claim was an over-estimation: score awarded is 0.
R7. Inning turnover: An inning half ends when either 3 team outs are accumulated or all rostered batters have completed an attempt. Teams swap offensive/defensive roles.
R8. Win condition: The team with the strictly higher point total at the conclusion of all scheduled innings wins.
## Edge cases
- Tie at the end condition: If scores are tied after 3 innings, each team receives 1 sudden-death batter attempt; highest single-turn score wins [gap-fill].
- A player with no legal move: Not applicable; a batter must always select a swing power from the valid range .
- Repetition / cycles: The game structure is strictly bounded by a finite number of innings and discrete outs, preventing infinite loops.
- Simultaneous claims on the same resource or position: Not applicable; turns, catches, and throws resolve sequentially in strict chronological order.
- Player elimination mid-round; turn order repair: When a batter is declared Out, they are removed from the active half-inning; the batting pointer advances to `(index + 1) mod N`.
- Resource exhaustion (pieces, tokens, space, time): The single *špaček* peg is reset to the home base after every resolved play; space is an open half-plane.
- Termination guarantee: Each turn deterministically increases either total score or accumulated outs; an inning half terminates upon 3 outs, and the game terminates after 2N half-innings.
## State representation
- Persistent state: `inning: int`, `half: {TOP, BOTTOM}`, `scores: [int, int]`, `outs: int`, `batting_order: [list, list]`, `current_batter_idx: [int, int]`.
- Per-turn ephemeral state: `swing_power: int`, `peg_distance: float`, `peg_angle: float`, `fielder_catch_success: bool`, `base_hit_success: bool`, `claimed_distance: int`.
- Observable information: Scores, outs, inning count, and batter history are public; claimed distance is public; true landing coordinate is public to fielders but must be estimated by the batter under incomplete certainty.
## Action space
- `select_power(level: int)`: Choose batting intensity `level \in {1, 2, 3, 4, 5}`.
- `claim_distance(units: int)`: Propose distance points in bat lengths.
- `challenge_claim(decision: bool)`: Fielding team decides whether to accept or challenge the batter's claim.
## Playability notes
- Single-player-vs-AI: Highly playable; human acts as batter choosing risk/power and bluff claims while AI manages fielding intercepts and challenge thresholds.
- Group games (n>4): Naturally reduces to 1v1 where 1 agent controls all batting decisions and 1 agent controls fielding positioning and challenge logic.
- Physical-skill games: Physical batting and fielding are abstracted into Gaussian distance models and distance-decay challenge probabilities.
- What is lost in the adaptation: Hand-eye coordination of the physical mid-air double-tap is replaced by strategic risk-reward trade-offs.
## Implementation hints
Low-to-medium complexity. State consists of simple integer counters and discrete probability lookups. Implement the deterministic turn and scoring loop first with uniform random fielding, then incorporate the distance-estimation bluffing sub-game.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
The Little Starling (Slovak Tip-Cat) (Slovakia). (n.d.). Games of Countries. https://gamesofcountries.com/games/sk-slovakia/spacek
@misc{gamesofcountries-sk-slovakia-spacek,
title = {The Little Starling (Slovak Tip-Cat) (Slovakia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/sk-slovakia/spacek}
}