Formal Specification
Pärk (traditional Gotland ball and territory game) — Formal Specification
Sweden · ball-team · Confidence: high
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 6
# Pärk — AI-optimized specification
## General idea
A traditional Gutnish team ball game related to medieval palm court games (*jeu de paume* family). Two seven-player teams compete on an open grass pitch across two distinct phases: Phase 1 establishes territorial stakes ("kas") by serving a wool-and-leather ball into a wooden frame and contesting volleys; Phase 2 involves switching court sides and playing points (10, 20, 30, 40) to defend or surpass the established kas lines. Contested as the best of three sets.
## Formal model
- **Abstraction taken:** The 3D ball flight across an open meadow is discretized into a longitudinal field grid of length (divided into serving zone , pärk frame at , and defensive outfield ). Ball volleys are modeled as discrete trajectory states (strike angle, distance, velocity) resolved via position-dependent fielder coverage and reflex probabilities. Territorial boundaries (*kas*) are stored as scalar -coordinates.
- **Player/agent count:** 2 teams of 7 agents (14 agents total). Roles: 1 *pärkkarl* (box striker), 2 *kasmötare* (frontline), 2 *halvdreivar* (midfield), 2 *langdreivar* (deep defense).
- **Turn model:** Alternating serves in Phase 1 (each of the 7 servers serves once per rotation), followed by point-play rallies in Phase 2.
## Formal rules
R1. **Pitch & Court Setup:**
- The pitch is wide by long.
- A wooden *pärk* frame of size is placed on the ground at .
- Serving line is fixed at .
R2. **Phase 1 (Serving & Kas Establishment):**
- The serving team (*utelaget*) selects a server from their 7 players in fixed rotation.
- The server strikes the ball underhand aiming for the pärk frame.
- Serve resolution: . If the serve misses the box, the serve is a fault; 2 consecutive faults award a *kas* at the box line [gap-fill].
- If the serve lands legally in the box, the defending *pärkkarl* must return the ball on the 1st bounce.
R3. **Rally & Kas Recording:**
- The ball is volleyed back and forth across the pärk line. Agents may strike the ball directly out of the air or after at most 1 bounce.
- If the defending team fails to return the ball or if the ball comes to rest at , a *kas* stake is recorded at .
- If the ball is driven cleanly beyond the deep defending baseline (), a *kas i baken* (maximum territorial gain) is awarded [gap-fill].
R4. **Court Swap (*Utskifte*):**
- After all 7 players on the serving team have delivered one serve (or if a *kas i baken* occurs), Phase 1 ends.
- Teams swap sides and roles: the former serving team now defends the field and the recorded *kas* lines, while the former defending team now serves [gap-fill].
R5. **Phase 2 (Playing for Kas & Points):**
- The new serving team serves into the pärk frame.
- Rally ensues: if the ball is driven past the recorded line, the offensive team wins the point; if halted short of , the defensive team wins the point.
R6. **Scoring System:**
- Points are awarded in traditional tennis-style increments: .
- A score of 40 wins the set (*pärk*).
- Deuce (*Tretti-lika*): If both teams reach 30, a team must establish a 2-point advantage to win the set [gap-fill].
R7. **Match Victory:**
- The match is decided as the best of 3 sets (*pärkar*). First team to win 2 sets wins the match.
## Edge cases
- Tie at the end condition: In a deuce at 30-all, play continues indefinitely until one team leads by 2 points (e.g. 40–30 Win, or Advantage Win).
- A player with no legal move: In rally play, if an agent cannot reach the ball within 1 bounce, the rally is lost; no deadlock occurs.
- Repetition / cycles: Phase 1 has a strictly bounded count of 7 serves. Phase 2 rallies are bounded by a deuce point-cap of rallies per set [gap-fill], awarding the set to the current leader.
- Simultaneous claims on the same resource or position: When multiple fielders converge on a landing ball, the agent closest to the landing coordinate executes the return [gap-fill].
- Player elimination mid-round: If an agent disconnects, their fielding zone is left vacant; team continues with remaining players.
- Resource exhaustion (pieces, tokens, space, time): Only 1 ball is active; match is bounded by at most 3 sets.
- Termination guarantee: Enforced by the finite 7-serve Phase 1 and the point accumulation structure of Phase 2.
## State representation
- **Persistent state:**
- `set_scores`: `{Team_A_sets: int, Team_B_sets: int}` (first to 2).
- `current_set`: integer .
- `game_points`: `{Team_A_points: int, Team_B_points: int}` .
- **Per-turn ephemeral state:**
- `phase`: `PHASE_1_KAS` or `PHASE_2_POINTS`.
- `server_index`: integer .
- `active_kas_lines`: list of float -coordinates.
- `ball_position`: .
- `ball_bounces`: integer.
- **Observable information:**
- Fully observable: Ball state, fielder coordinates, kas markers, and point totals are public knowledge.
## Action space
- `serve(target_box_offset, power)`: executed by active server.
- `strike_return(direction, elevation, power)`: executed by defending player in range of the ball.
- `position_fielder(agent_id, x, y)`: adjust field coverage before each serve.
## Playability notes
- Single-player-vs-AI: Playable as a team manager simulation where the player commands the 7-player squad, selecting servers, offensive drive angles, and fielding formations against an AI squad.
- Group games (n>4): The 7v7 format reduces naturally to a 2-agent duel (1 server/striker vs 1 defender) on a scaled 1D corridor without destroying the core kas territorial mechanics.
- Physical-skill games: Underhand fist/palm striking of a compact sheepskin ball and running reflexes are abstracted into spatial hit ranges and error distributions.
- What is lost in the adaptation: The Gutnish dialect shouts (*hugg!*, *kas!*, *dreiv!*), the festival atmosphere of Stångaspelen, and the communal pride of parish teams.
## Implementation hints
Moderate complexity. Structure the simulation as a state machine: Serve Box Bounce Check Rally Tick Loop (evaluating agent proximity and 1-bounce constraint) Kas Marker Update Phase 2 Point Resolver. First milestone: implement Phase 1 serve-and-rally logic on a 1D field axis, recording scalar points accurately.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Pärk (traditional Gotland ball and territory game) (Sweden). (n.d.). Games of Countries. https://gamesofcountries.com/games/se-sweden/park
@misc{gamesofcountries-se-sweden-park,
title = {Pärk (traditional Gotland ball and territory game) (Sweden)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/se-sweden/park}
}