Formal Specification
Berber field hockey (Koura) — Formal Specification
Morocco · stick-team · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Takurt — AI-optimized specification
## General idea
A traditional Berber field hockey team contest. Two opposing teams move across a discretized 2D grid field, maneuvering a dense wooden ball using curved stick swings, tackles, passes, and shots on goal. High-sticking and bodily fouls incur free hits, and matches end when a target score is achieved.
## Formal model
- **Abstraction taken:** The continuous open-terrain field is discretized into an grid ( zones). Time progresses in discrete simultaneous turns (ticks). Ball velocity, passing, and contested tackles use a stochastic physics resolver parameterized by player attributes.
- **Player/agent count:** 2 teams (), each with agents (1 Goalkeeper, 2 Defenders, 2 Midfielders, 1 Forward).
- **Turn model:** Simultaneous tick execution: all 12 agents declare movement/action vectors simultaneously, which are resolved in standard physical order (movement stick contact ball displacement goal check).
## Formal rules
R1. **Pitch Geometry & Initialization:**
- Field dimensions: Grid , .
- Team goal line: , . Team goal line: , .
- Center pit (*tanout*): Coordinate .
- Initial state: Ball at , . Each team's agents placed in their respective halves ( for , for ).
R2. **Face-off (*Center Strike*):**
- At match start and after each goal, the two center forwards engage at . Both submit a `strike_ball()` action; ball velocity vector is determined by relative strength check plus random deviation.
R3. **Legal Actions per Turn:**
- An agent may choose exactly one action per tick:
- `move(dx, dy)`: Move up to 2 grid units ().
- `dribble(dx, dy)`: Move 1 unit with ball in possession.
- `pass(target_agent_id, power)`: Hit ball toward teammate (valid only if ball is within adjacent zone unit).
- `shoot(target_x, target_y, power)`: Drive ball toward goal (valid if ball in adjacent zone).
- `tackle(target_agent_id)`: Attempt stick interception if within 1 unit of ball carrier.
R4. **Fouls & High-Sticking:**
- [gap-fill] An action parameter `swing_elevation` (high-sticking) or an aggressive collision results in a foul: ball possession transfers to the non-offending team at the spot with a 1-turn free-hit buffer (opponents must remain units away).
R5. **Goal & Scoring:**
- A goal is scored when ball coordinate enters the opponent's goal region ( for score, for score).
- Score increments by 1.
- Target score: First team to score 3 goals wins the match.
R6. **Turn Resolution Order:**
- 1. Evaluate foul checks.
- 2. Resolve agent positional displacements.
- 3. Resolve contested stick tackles on ball.
- 4. Update ball position and check goal triggers.
## Edge cases
- **Tie at the end condition:** [gap-fill] If neither team reaches 3 goals within ticks, a sudden-death period of 50 ticks is played; if still tied, a draw is declared.
- **A player with no legal move:** Movement is always legal into non-occupied adjacent cells; if trapped, agent executes `hold_position()`.
- **Repetition / cycles:** Bounded by the monotonic maximum tick counter .
- **Simultaneous claims on the same resource or position:** If two opposing agents enter the same cell or both attempt to strike the ball simultaneously, resolution applies a strength contest: .
- **Player elimination mid-round; turn order repair:** Not applicable — no permanent eliminations occur during a standard match.
- **Resource exhaustion:** Finite spatial boundaries; out-of-bounds ball is returned to the nearest in-bounds grid cell with possession awarded to the opposing team.
- **Termination guarantee:** Guaranteed by finite target score (3 goals) or hard tick cap ().
## State representation
- **Persistent state:** Score (), elapsed ticks , match phase .
- **Ball state:** Position , velocity , carrier ID (or null).
- **Agent state:** Position , team ID, role, stamina, foul count.
- **Observable information:** Fully observable 2D state for all agents.
## Action space
- `move(dx, dy)`: .
- `hit_ball(angle, power, elevation)`: , , .
- `tackle(agent_id)`.
## Playability notes
- **Single-player-vs-AI:** Natural: human controls active player nearest the ball, AI controls other 11 agents using standard behavior trees (formation maintenance, passing lanes, shooting).
- **Group games ():** Can be simplified to a 2-agent game (1v1) on a smaller grid without losing core hockey passing/shooting dynamics.
- **Physical-skill games:** Shot accuracy modeled by Gaussian dispersion around target aim point: .
- **What is lost in the adaptation:** The physical strain of swinging heavy olive-root clubs, rugged terrain bounces, and tribal chanting atmosphere.
## Implementation hints
- Implement grid movement with simple bounding box collision logic and a standard discrete vector for ball trajectory.
- Suggested first milestone: Build a 1v1 prototype on a grid verifying face-off, ball strike, and goal detection before adding full 6v6 team behaviors.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Berber field hockey (Koura) (Morocco). (n.d.). Games of Countries. https://gamesofcountries.com/games/ma-morocco/takurt
@misc{gamesofcountries-ma-morocco-takurt,
title = {Berber field hockey (Koura) (Morocco)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ma-morocco/takurt}
}