Skip to main content
Formal Specification

Two-Stick Striking Game / Gatrik — Formal Specification

Indonesia · stick-team · Confidence: high

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Benthik — AI-optimized specification ## General idea A turn-based two-stick batting and distance-measuring contest where the offensive team flips, strikes, and drives a short wooden projectile into a 2D outfield across three sequential stages. The fielding team attempts to catch the projectile mid-air or throw it back to hit the base stick, while the batting team accumulates distance-based points measured in stick lengths. ## Formal model - **Abstraction taken:** Physical stick striking, airborne trajectories, catches, and fielding throws are modeled as parameterized stochastic outcomes based on chosen strike angle/force and agent skill attributes. - **Player/agent count:** 2 teams (T0,T1), each with N agents (N∈[1..6], default 2 per team). - **Turn model:** Sequential innings. Within an inning, offensive agents bat one by one through stages 1 to 3 until an out occurs. ## Formal rules R1. Match structure: A match consists of an agreed score threshold (e.g., Starget=500) or a fixed number of innings (e.g., 3 innings per side) [gap-fill]. R2. Batter progression: Active batter advances sequentially through Stage 1 (*Nyuthat*), Stage 2 (*Namplek*), and Stage 3 (*Nuthuk*). R3. Stage resolution: - On each stage, the batter selects action parameters `(power, angle)`. - Flight distance D∼𝒩(μpower,σ2) and outfield landing coordinates (x,y) are sampled. - Catch probability Pcatch=f(fielder_position,skill). If caught, batter is declared OUT. - If uncaught, a fielder throws the stick toward base (0,0). Hit probability Pbase_hit=f(distance,skill). If it hits the base stick, batter is declared OUT. - If not out, points S=⌊D/Lstick⌋×Mstage are awarded to the batting team, where Mstage∈{1,1,2} [gap-fill]. R4. Turnover: When a batter is OUT, the next teammate bats. When all N batters on the team are OUT, the inning flips (fielders become batters). R5. Win condition: The first team to reach Starget wins immediately. If inning-limited, the team with higher total points after completed innings wins. ## Edge cases - Tie at the end condition: If both teams finish equal innings with identical scores, an extra sudden-death Stage 3 strike off is conducted. - A player with no legal move: Not applicable; a batter must choose a strike action within valid parameter bounds. - Repetition / cycles: Bounded by finite out conditions per inning and monotonic score accumulation toward Starget. - Simultaneous claims on the same resource or position: Fielding catch is resolved by the single closest fielder agent to the landing coordinate. - Player elimination mid-round: When a batter is OUT, turn passes immediately to the next sequential agent index in the team roster; if no batters remain, the half-inning terminates. - Resource exhaustion: Not applicable; sticks are reset at the trench for every attempt. - Termination guarantee: Every strike has a non-zero probability of an OUT (Pout≥ϵ>0), guaranteeing that innings terminate almost surely in finite steps. ## State representation - Persistent state: - `scores`: `[int, int]` for Team 0 and Team 1. - `active_batting_team`: `0` or `1`. - `active_batter_idx`: integer 0..N−1. - `current_stage`: integer 1..3. - `outs_in_inning`: integer 0..N. - Per-turn ephemeral state: - `projectile_pos`: 2D landing coordinate. - `last_distance_points`: integer. - Observable information: Fully observable (scores, stage, fielder coordinates, and skill attributes are public). ## Action space - `strike(stage, power, angle)`: where `power` ∈[0.1,1.0], `angle` ∈[−60∘,+60∘]. - `field_throw(target)`: automated resolution by nearest fielder agent. ## Playability notes - Single-player-vs-AI: Highly playable as a strategic risk-reward batting simulator where AI fields and bats using optimal power/angle heuristics. - Group games (n>4): Cleanly reduces to 1v1 (one batter vs one fielder agent) or 2v2 without losing tactical depth. - Physical-skill games: Stick trajectory, pop-up strikes, and fielding throws are parameterized by continuous Gaussian-distributed skill samplers. - What is lost in the adaptation: The tactile reflex of juggling and double-hitting a spinning wooden stick mid-air is abstracted into probability distributions. ## Implementation hints Discretize power into 3 levels (low, medium, high) and angle into 5 sectors for discrete-action RL/search algorithms. First milestone: Implement 1v1 three-stage batting with basic catch/hit probability checks.

Download as JSON

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

Download JSON
Cite this page

Two-Stick Striking Game / Gatrik (Indonesia). (n.d.). Games of Countries. https://gamesofcountries.com/games/id-indonesia/benthik

@misc{gamesofcountries-id-indonesia-benthik,
  title = {Two-Stick Striking Game / Gatrik (Indonesia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/id-indonesia/benthik}
}