Formal Specification
Tunisian Tip-Cat Two-Stick Game — Formal Specification
Tunisia · dexterity-throw · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Akrista — AI-optimized specification
## General idea
A two-stick tip-cat game. The active batter pops a small wooden peg into the air and strikes it downfield. Fielders attempt airborne catches or throw the peg back to strike the resting bat; if the peg lands safely, distance to home base is measured in discrete stick-length units to accumulate score points.
## Formal model
- **Abstraction taken:** Batting kinematics and distance are discretized into linear meter increments along a 1D downfield axis `x in [0..60m]`. Distance in stick lengths is mapped as `Points = floor(x / 0.70m)`.
- **Player/agent count:** 2 agents (Batter and Fielder).
- **Turn model:** Alternating batting innings until an out occurs.
## Formal rules
R1. Setup: Home trench is at `x = 0`. Bat length `L_bat = 0.70m`. Scores start at `Score = [0, 0]`. Active phase starts at `Phase 1`.
R2. Batting Execution:
- Batter selects batting technique: `Scoop`, `TipAndStrike`, or `DoubleTap`.
- Flight Distance: `dist = f(technique, Skill_Batter) + Noise`.
- Air Catch Check: Defending fielder attempts catch; probability `P_catch = 0.75 - 0.01 * dist`.
- If caught in air, Batter is `Out` and roles swap.
R3. The Return Throw:
- If uncaught, peg rests at `x_land = dist`. Fielder throws peg back toward `x = 0`.
- Throw accuracy `P_hit_bat = max(0.10, 0.90 - 0.02 * x_land)`.
- If the throw hits the resting bat, Batter is `Out` and roles swap.
R4. Distance Scoring:
- If the return throw misses the bat, Batter scores `Points = floor(x_land / L_bat)`.
- Batter advances to next phase and bats again.
R5. Win Condition: First agent to accumulate `TargetScore = 50` points wins.
## Edge cases
- Tie at the end condition: [gap-fill] If both agents reach or exceed 50 points in the same round of equal innings, the agent with the higher point total wins.
- A player with no legal move: Not applicable; batting techniques are always available.
- Repetition / cycles: Out probability is strictly positive (`P_out > 0.15` per turn), guaranteeing role swaps and termination.
- Simultaneous claims on the same resource or position: Sequential batting and fielding turns.
- Player elimination mid-round; turn order repair: Role swaps seamlessly interchange active batter and fielder.
- Resource exhaustion: Monotonically increasing score toward 50.
- Termination guarantee: Guaranteed by strictly positive expected score gains per hit and positive out rates.
## State representation
- Persistent state: `scores: Array[2][int]`, `active_batter_id: int in {0, 1}`, `current_phase: int in [1..3]`.
- Ephemeral state: `peg_distance: float`, `is_out: bool`.
- Observability: Complete, perfect public information.
## Action space
- `strike_peg(technique_id)` where `technique_id in {Scoop, TipAndStrike, DoubleTap}`.
- `throw_return()`: Fielder return throw action.
## Playability notes
- Single-player-vs-AI: Engine-ready; human player balances batting technique risk vs. distance rewards against fielding AI.
- Group games (n>4): Extends to multi-agent fielding teams with distributed zone coverage.
- Physical-skill games: Two-stick physics and tip-popping angles cleanly parameterized.
- What is lost: The physical thrill of timing an airborne wooden peg with a heavy olive branch.
## Implementation hints
1D distance state machine. First milestone: implement two-stick batting physics, catch checks, and distance-to-point conversion before adding multi-agent fielding AI.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Tunisian Tip-Cat Two-Stick Game (Tunisia). (n.d.). Games of Countries. https://gamesofcountries.com/games/tn-tunisia/akrista
@misc{gamesofcountries-tn-tunisia-akrista,
title = {Tunisian Tip-Cat Two-Stick Game (Tunisia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/tn-tunisia/akrista}
}