Formal Specification
Traditional Libyan Stick Hockey — Formal Specification
Libya · stick-team · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Kourah Libiya — AI-optimized specification
## General idea
A discretized 1D/2D field hockey match between two teams of 6 agents using curved wooden clubs. Teams maneuver for territorial ball control across 9 longitudinal zones, passing and dribbling toward the attacking goal zone to execute goal-scoring shots while contesting possession through stick tackles.
## Formal model
- **Abstraction taken:** The continuous field is discretized into a 9-zone longitudinal grid `[Zone 1..Zone 9]` where Zone 1 is Team A's goal and Zone 9 is Team B's goal. Match time is discretized into 40 simulation ticks.
- **Player/agent count:** 2 teams of 6 agents.
- **Turn model:** Alternating team initiative with synchronized agent movement.
## Formal rules
R1. Setup: Ball is placed in Zone 5 (center). Team A occupies Zones 2–4; Team B occupies Zones 6–8. Score starts at `0-0`.
R2. Opening Face-off: Two center agents contest Zone 5; initial possession is decided by an agility contest roll.
R3. Legal Actions per Turn: Active controlling team selects one action:
- `pass(target_zone)`: Advances ball 1–2 zones. Success rate `P_pass = 0.85 - 0.10 * defenders_in_zone`.
- `dribble()`: Advances carrying agent with ball by 1 zone.
- `shoot_goal()`: Legal only from opponent's defense zone (Zone 8 for Team A, Zone 2 for Team B); success probability `P_goal = 0.60 - 0.15 * defenders_in_goal`.
- `tackle()`: Defending agent in the same zone attempts dispossession; success rate `P_tackle = 0.50 + 0.10 * skill_diff`.
R4. Turnover: If a pass fails (intercepted), a tackle succeeds, or a goal shot is saved, ball possession flips to the defending team.
R5. Scoring: A successful `shoot_goal()` increments team score by `+1 point` and triggers an R1 field reset.
R6. [gap-fill] Foul Penalty: A tackle roll `< 0.10` triggers a foul; the attacking team receives a free forward pass by 1 zone.
R7. Win Condition: The team with the higher score after 40 simulation ticks wins.
## Edge cases
- Tie at the end condition: [gap-fill] If tied at tick 40, a 10-tick sudden death period begins; first team to score wins. If still tied, the match ends in a draw.
- A player with no legal move: Not applicable; passing or dribbling is always valid.
- Repetition / cycles: Bounded strictly by the 40-tick match limit.
- Simultaneous claims on the same resource or position: Resolved via R3 tackle/face-off resolution mechanics.
- Player elimination mid-round; turn order repair: Fouls incur zone penalties without roster elimination.
- Resource exhaustion: Monotonically decaying tick counter.
- Termination guarantee: Enforced by the 40-tick hard cap.
## State representation
- Persistent state: `scores: Array[2][int]`, `tick: int in [1..40]`, `ball_zone: int in [1..9]`, `possession: int in {0, 1}`.
- Ephemeral state: `active_action_type: ActionEnum`.
- Observability: Complete, perfect public information.
## Action space
- `act(action_type, target_zone)` where `action_type in {pass, dribble, shoot_goal, tackle}`.
## Playability notes
- Single-player-vs-AI: Engine-ready; playcaller controls squad zone transitions against defensive AI.
- Group games (n>4): Reduced to 2 controlling team agents.
- Physical-skill games: Stick-handling dexterity abstracted into clean transition probability tables.
- What is lost: The kinetic crack of curved wood colliding with raw wool in an open Libyan pasture.
## Implementation hints
1D positional state machine with 9 zones. First milestone: implement passing and shooting mechanics on the 9-zone track before adding multi-agent defensive clustering.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Traditional Libyan Stick Hockey (Libya). (n.d.). Games of Countries. https://gamesofcountries.com/games/ly-libya/kourah-libya
@misc{gamesofcountries-ly-libya-kourah-libya,
title = {Traditional Libyan Stick Hockey (Libya)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ly-libya/kourah-libya}
}