Formal Specification
Korfball — Formal Specification
Netherlands · ball-team · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 4
# Korfbal — AI-optimized specification
## General idea
A mixed-gender cooperative team game on a two-zone discrete court where ball possession prohibits movement (no dribbling or running). Offensive scoring requires creating spatial separation to evade the "defended shot" condition, where an adjacent defender of the same gender invalidates any scoring attempt. Every two goals, all players switch zones and reverse offensive/defensive roles.
## Formal model
- **Abstraction taken:** Court space is represented as two disjoint grid zones. Time is modeled as discrete simulation ticks ( second per tick). Physical running and pivoting are discretized into grid steps (max 1 cell/tick without ball; 0 cells with ball).
- **Player/agent count:** 16 agents total: 2 teams of 8 agents (Team A: , Team B: ), each with 4 female and 4 male agents.
- **Turn model:** Simultaneous agent decisions per discrete tick with sequential resolution (movement passes shots collisions/fouls).
## Formal rules
R1. **Setup:** Court consists of two zones: Attack Zone () and Defense Zone (). Team A places 2M+2F in (attacking basket at ) and 2M+2F in (defending basket at ). Team B is mirrored.
R2. **Zone constraint:** Agents are bound to their assigned zone; attempting to enter the opposing zone without a zone-switch trigger is an illegal move [gap-fill: immediate turnover].
R3. **Movement with ball:** An agent holding the ball has a movement speed of cells/tick. Pivot is allowed in place.
R4. **Passing and interception:** Passing the ball targets a teammate in the same zone. Interception occurs if an opposing defender lies within the pass vector corridor with probability .
R5. **The Defended Shot condition:** An attack shot `shoot()` is strictly illegal (evaluated as an automatic turnover with ) if an opposing defender meets all of the following conditions:
1.
2. (arm's length)
3. (defender is between shooter and post)
4. has action set to `block()` facing the shooter [gap-fill].
R6. **Shot conversion:** If a shot is taken in the undefended state, goal probability is .
R7. **Zone switch:** Every time the sum of total goals scored by both teams is an even number (), all agents swap zones and switch between attacking and defending roles.
R8. **Match termination:** Game ends when match time reaches (40 minutes). The team with the most goals wins.
## Edge cases
- **Tie at the end condition:** If scores are equal at , a draw is declared (or a 300-tick sudden-death "golden goal" period ensues [gap-fill]).
- **A player with no legal move:** If the ball carrier has no open passing lane, they may attempt a high-arcing bail-out pass or hold until the 25-tick shot-clock expires, which triggers a turnover.
- **Repetition / cycles:** Prevented by a standard 25-tick possession/shot clock; teams must attempt a rim-touching shot within 25 ticks or surrender possession.
- **Simultaneous claims on the same resource or position:** If two opposing agents contest a loose rebound simultaneously, possession is awarded via a stochastic jump-ball check weighted by agent height/jumping skill.
- **Player elimination mid-round; turn order repair:** If an agent is disqualified (e.g. repeated fouls), the team continues with 7 agents; the unmatched opponent can only be guarded during zone rotations [gap-fill].
- **Resource exhaustion (pieces, tokens, space, time):** Not applicable; game bounds are fixed by match duration .
- **Termination guarantee:** Guaranteed strictly by the finite decrementing time counter .
## State representation
- **Persistent state:** Score vector , clock ticks remaining , shot clock , zone configuration flag.
- **Per-agent state:** Position , gender , team , role , stamina , ball-possession flag.
- **Observable information:** Fully observable; positions, ball location, and shot clocks are public.
## Action space
- `move(dx, dy)`: Step up to 1 unit in grid. Precondition: agent does not possess the ball.
- `pass(target_agent_id)`: Pass ball to a teammate in the same zone. Precondition: agent possesses the ball.
- `shoot()`: Attempt shot at basket. Precondition: agent possesses ball and is in Attack zone.
- `block(target_attacker_id)`: Maintain defensive guard posture to establish the "defended" state.
## Playability notes
- **Single-player-vs-AI:** Requires multi-agent adaptation; single human controls the active ball carrier and off-ball positioning with 15 AI teammates and opponents.
- **Group games (n>4):** Standard reduction is a 4-agent "Korfbal4" half-court format (2v2 mixed) retaining all core defensive and passing mechanics.
- **Physical-skill games:** Shooting accuracy and interception rates are parameterized by spatial distance and agent skill attributes.
- **What is lost:** Physical body positioning nuances, subtle screen setting, and organic court vision are discretized into grid coordinates.
## Implementation hints
- Moderate state complexity; spatial vector geometry is required for the "defended shot" polygon and pass interception corridors.
- First milestone: Build the 2D court with passing and the rule R5 "defended shot" detection function before implementing autonomous multi-agent offensive schemes.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Korfball (Netherlands). (n.d.). Games of Countries. https://gamesofcountries.com/games/nl-netherlands/korfbal
@misc{gamesofcountries-nl-netherlands-korfbal,
title = {Korfball (Netherlands)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/nl-netherlands/korfbal}
}