Skip to main content
Formal Specification

Libyan Slingshot Precision Target Game — Formal Specification

Libya · dexterity-throw · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Al-Qays — AI-optimized specification ## General idea A turn-based precision marksmanship game. Agents choose distance tiers (10m, 15m, 20m) and fire 3 projectile shots per turn at stacked targets. Greater distances yield higher point multipliers but increase ballistic dispersion; the first agent to reach 15 points wins. ## Formal model - **Abstraction taken:** Ballistic projectile trajectory and aiming jitter are parameterized by distance `D in {10m, 15m, 20m}`, agent Marksmanship skill `Skill in [0, 100]`, and wind variance `W ~ Normal(0, sigma)`. - **Player/agent count:** `N` agents (default `N = 2`, Player 0 and Player 1). - **Turn model:** Sequential shooting rounds (3 shots per turn). ## Formal rules R1. Setup: Each agent starts with `Score = 0`. Target stack contains 3 hit targets of radius `r = 0.10m`. R2. Turn Selection: Active agent chooses distance tier `Tier in {1 (10m), 2 (15m), 3 (20m)}`. R3. Shot Execution: Agent fires 3 consecutive shots. For each shot `k in [1..3]`: - Landing deviation: `(dx, dy) = Normal(0, sigma_base * (Tier / (Skill / 50)))`. - Hit Condition: If `sqrt(dx^2 + dy^2) <= r`, shot is a `Hit` (`+Tier points`). R4. Tier Sweep Bonus: If all 3 shots in a turn result in `Hit`, agent earns `+2 bonus points`. R5. Turn End: Turn passes to the next agent. R6. Win Condition: The first agent to accumulate `TargetScore = 15` points wins the match. ## Edge cases - Tie at the end condition: [gap-fill] If both agents reach >= 15 points in the same round of equal turns, sudden-death single 20m shots decide the winner. - A player with no legal move: Not applicable; tier selection is always valid. - Repetition / cycles: Bounded by positive expected points per turn toward 15. - Simultaneous claims on the same resource or position: Sequential shooting turns. - Player elimination mid-round; turn order repair: Not applicable; 2-player format. - Resource exhaustion: Monotonically increasing score toward 15. - Termination guarantee: Enforced by positive point increments and the 15-point threshold. ## State representation - Persistent state: `scores: Array[N][int]`, `active_player: int in [0..N-1]`, `round_num: int`. - Ephemeral state: `active_shot_results: List[bool]`. - Observability: Complete, perfect public information. ## Action space - `fire_salvo(tier_id, aim_x, aim_y)` where `tier_id in {1, 2, 3}`, `aim_x, aim_y in [-0.5, 0.5]`. ## Playability notes - Single-player-vs-AI: Playable as an arcade target shooting simulator against heuristic AI agents. - Group games (n>4): Extends smoothly to multi-agent tournament rotations. - Physical-skill games: Slingshot draw tension and ballistic dispersion modeled cleanly. - What is lost: The distinct snap of elastic rubber and the clang of a stone hitting a tin can. ## Implementation hints Discrete target hit simulator. First milestone: implement distance-scaling dispersion equations and 3-shot turn evaluation before tuning AI tier selection policies.

Download as JSON

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

Download JSON
Cite this page

Libyan Slingshot Precision Target Game (Libya). (n.d.). Games of Countries. https://gamesofcountries.com/games/ly-libya/al-qays

@misc{gamesofcountries-ly-libya-al-qays,
  title = {Libyan Slingshot Precision Target Game (Libya)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ly-libya/al-qays}
}