Formal Specification
Shinty (Game of the Curved Stick) — Formal Specification
United Kingdom · stick-team · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Shinty (Camanachd) — AI-optimized specification
## General idea
A high-tempo field contest between two 12-agent teams maneuvering on a large rectangular grid using specialized sticks (*camain*) to shoot a ball into an opposing guarded goal. It differs from standard field games by permitting aerial blocking and batting, dual-sided stick usage, and explicit restrictions on entering the goalkeeper's semi-circular zone before the ball.
## Formal model
- **Abstraction taken:** The 140x70 yard grass pitch is discretized into a 2D spatial grid (e.g., 28x14 zones). Continuous real-time movement and aerial ball trajectories are discretized into discrete simulation ticks (e.g., 1 second per tick). Physical challenges and stick clashes (*clecking*) are resolved via a stochastic duel engine parameterized by agent strength, positioning, and skill.
- **Player/agent count:** 2 teams of 12 agents (1 goalkeeper, 11 fielders).
- **Turn model:** Simultaneous-action ticks; all agents declare movements and interactions, which are resolved in a strict order per tick.
## Formal rules
R1. **Grid & Zone Setup:** The field consists of a 28x14 grid. Goals span 2 cells at coordinates (0, 6–7) and (27, 6–7). Each goal is surrounded by a designated 2-cell deep semi-circular goal area (*the D*).
R2. **Starting State:** Teams deploy in 1-3-3-2-3 formations in their respective halves. The ball is placed at the center point (14, 7).
R3. **Throw-Up Resolution:** At match start, after a goal, or after neutral stoppages, a throw-up occurs at the center. Two designated centers contest the ball via a probabilistic challenge resolver `P(gain_possession) = f(skill_timing, height)`.
R4. **Movement & Actions per Tick:** Each active agent may perform one movement action (up to 2 cells orthogonally or diagonally) and one interaction:
- `pass(target_agent_id)`: Strikes the ball towards a teammate.
- `shoot(target_goal_cell)`: Strikes the ball towards the opposing goal.
- `tackle(opponent_id)`: Attempts a shoulder-to-shoulder tackle or stick block (*cleck*).
- `block_aerial()`: Uses body/chest or double open hands to intercept an airborne ball, bringing it to the ground at the agent's feet.
R5. **Offside Rule (The D):** An attacking agent may not enter any cell within the defending team's *D* unless the ball is already located within or entering that *D*. If violated, a defending free-hit is awarded immediately.
R6. **Goalkeeper Privilege:** A goalkeeper inside their own *D* can execute a `catch_and_clear()` action, instantly stopping the ball and clearing it up to 10 cells in any direction.
R7. [gap-fill] Match Duration & Clock:** The simulation runs for a fixed 1,800 ticks (representing two 45-minute halves of 900 ticks each).
R8. **Scoring & Victory:** When the ball enters an opponent's goal cell, the attacking team gains 1 point. The team with the higher score at tick 1,800 wins.
## Edge cases
- **Tie at the end condition:** If scores are equal at tick 1,800, the match ends in a draw, or [gap-fill] proceeds to two 150-tick extra-time periods and a 5-shot penalty shootout from 20 yards.
- **A player with no legal move:** Not applicable; an agent can always hold position or take a legal step.
- **Repetition / cycles:** Not applicable; the game clock ticks strictly downward from 1,800 to 0.
- **Simultaneous claims on the same resource or position:** If two opposing agents enter the same cell or contest a loose ball in the same tick, an arbitration duel resolves possession: `P(agent_A wins) = Skill_A / (Skill_A + Skill_B)`.
- **Player elimination mid-round:** If an agent receives a red card (foul ejection), that agent is removed permanently from the grid; their team continues with 11 agents without structural turn disruptions.
- **Resource exhaustion:** Not applicable; ball and grid boundaries are persistent.
- **Termination guarantee:** The game provably terminates when the global countdown clock reaches 0.
## State representation
- **Persistent state:** Score table `[Team A: int, Team B: int]`, remaining ticks `clock: int`, active rosters `[Agent_1..24]`, player cards/fouls counter.
- **Per-agent state:** Position `(x, y)`, velocity vector, stamina `float`, yellow/red card flags, current role (`GK`, `Back`, `Half-back`, `Center`, `Forward`).
- **Per-tick ephemeral state:** Ball position `(x, y, z)` (including height `z` for aerial balls), ball velocity, declared agent intents.
- **Observable information:** Fully observable state in standard simulator mode; optional fog-of-war where agents observe within a vision cone of 8 cells.
## Action space
- `move(dx, dy)`: Displace agent by -2..+2 cells.
- `strike(angle, power, elevation)`: Strike the ball along a directional vector.
- `tackle(target_id)`: Contest an adjacent opponent holding possession.
- `block()`: Defensive stance to obstruct shots/passes within 1 cell radius.
## Playability notes
- **Single-player-vs-AI:** Highly playable; the human commands the active ball carrier or team macro-tactics while individual AI teammates execute positional pathfinding.
- **Group games reduction (2-agent form):** Can be abstracted into a 1v1 tactical coach model where two human/AI agents issue team formation orders and tactical play calls.
- **Physical-skill games:** Physical caman swing timing and aerial hand-eye coordination are converted to stochastic skill checks: `P(accurate_strike) = Base_Accuracy * Stamina_Factor`.
- **What is lost in the adaptation:** The physical brutality of full-contact shinty grappling, the exact aerodynamic curve of the wooden caman, and split-second instinctive reflexes.
## Implementation hints
- Moderate-high state complexity due to 24 active agents and 3D ball coordinates (x, y, height).
- Suggested first milestone: Implement a 3v3 mini-shinty pitch with simplified goal scoring and tick-based movement before scaling to the full 12v12 1,800-tick match.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Shinty (Game of the Curved Stick) (United Kingdom). (n.d.). Games of Countries. https://gamesofcountries.com/games/gb-united-kingdom/shinty
@misc{gamesofcountries-gb-united-kingdom-shinty,
title = {Shinty (Game of the Curved Stick) (United Kingdom)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/gb-united-kingdom/shinty}
}