Formal Specification
Traditional Archery Contest — Formal Specification
Algeria · dexterity-throw · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Laab el-Kaws — AI-optimized specification
## General idea
A target-archery precision contest where agents adjust vertical elevation and horizontal windage to loose arrows at a concentric circular target across 3 rounds of 5 arrows. Scores are computed from landing radial distance to the target center.
## Formal model
- **Abstraction taken:** Arrow trajectory is modeled via a 2D landing distribution `(x, y) ~ Normal(AimPoint + WindDrift, sigma(Skill, DrawTime))`.
- **Player/agent count:** `N` agents (default `N = 2`, Player 0 and Player 1).
- **Turn model:** 3 rounds of 5 arrows each (15 sequential shots per agent).
## Formal rules
R1. Setup: Target centered at `(0, 0)`. Target ring radii:
- Bullseye (`r <= 0.10m`): `5 points`.
- Inner Ring (`0.10m < r <= 0.30m`): `3 points`.
- Outer Ring (`0.30m < r <= 0.60m`): `1 point`.
- Miss (`r > 0.60m`): `0 points`.
R2. Environmental Conditions:
- Wind vector `W = (w_x, w_y)` is sampled per round from `Uniform([-1.5, 1.5], [-1.5, 1.5])` and remains constant across all agents during that round.
R3. The Shot:
- Active agent selects aim coordinates `(aim_x, aim_y)` and `draw_time in [1.0, 5.0]`.
- Optimal draw time is `3.0s`. Deviations increase dispersion variance: `sigma = base_sigma * (1.0 + |draw_time - 3.0| * 0.3) / (Skill / 100)`.
- Landing point: `(x_land, y_land) = (aim_x + w_x * 0.2, aim_y + w_y * 0.2) + (Noise_x, Noise_y)`.
R4. Radial Distance & Scoring:
- `r = sqrt(x_land^2 + y_land^2)`.
- Points mapped according to R1 thresholds and added to `Score_i`.
R5. Win Condition: When all 15 arrows are loosed by all agents, the agent with the highest cumulative score wins.
## Edge cases
- Tie at the end condition: [gap-fill] If scores are tied after 15 arrows, tied agents shoot a single golden arrow; the closest arrow to the absolute center wins.
- A player with no legal move: Not applicable; shooting parameters are always available.
- Repetition / cycles: Strictly bounded by 15 arrows per agent.
- Simultaneous claims on the same resource or position: Sequential target scoring eliminates physical collisions.
- Player elimination mid-round; turn order repair: Not applicable; all agents complete all rounds.
- Resource exhaustion: Monotonically decaying arrow quiver (15 down to 0).
- Termination guarantee: Enforced by the 15-arrow limit per agent.
## State representation
- Persistent state: `scores: Array[N][int]`, `arrows_left: Array[N][int]`, `round_num: int in [1..3]`, `wind: (float, float)`.
- Ephemeral state: `active_shot_landing: (float, float)`.
- Observability: Complete visibility of public wind measurements, scores, and opponent landing coordinates.
## Action space
- `loose_arrow(aim_x, aim_y, draw_time)` where `aim_x, aim_y in [-1.0, 1.0]`, `draw_time in [1.0, 5.0]`.
## Playability notes
- Single-player-vs-AI: Highly engaging precision wind-compensation puzzle against AI archers.
- Group games (n>4): Extends smoothly to multi-competitor tournament rosters.
- Physical-skill games: Wind drift and breath-holding aim dynamics cleanly abstracted.
- What is lost: The physical muscle burn of holding a heavy bow draw and the vibration of the bowstring.
## Implementation hints
2D coordinate scoring system. First milestone: implement radial score mapping from Gaussian landing coordinates with static wind offset before adding multi-round tournaments.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Traditional Archery Contest (Algeria). (n.d.). Games of Countries. https://gamesofcountries.com/games/dz-algeria/laab-el-kaws
@misc{gamesofcountries-dz-algeria-laab-el-kaws,
title = {Traditional Archery Contest (Algeria)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/dz-algeria/laab-el-kaws}
}