Skip to main content
Formal Specification

Stick-circling defense game — Formal Specification

Armenia · stick-team · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 1
# Klaek — AI-optimized specification ## General idea A circular hockey-like defense game whose distinctive mechanic is that team roles, not team identity, determine who can score: the outer team attacks the central hole while the inner team defends it, but a defender who legally tags an overreaching attacker's foot instantly flips *both teams'* roles, so the team currently "attacking" and the team currently "leading on goals" can be different teams at different points in the same match. ## Formal model - **Abstraction taken:** Continuous stick-handling, passing, blocking, and shot accuracy are each abstracted into stochastic per-attempt success checks, since the entry describes them qualitatively with no numeric accuracy model. - **Player/agent count:** 2 teams of 3-6 players each; `team_role[team] ∈ {attacking, defending}`, always complementary between the two teams. - **Turn model:** Synchronous ticks; all players submit actions simultaneously each tick, resolved at tick end. ## Formal rules R1. Setup: a circle of diameter 5 m with a central hole (`buj`) is drawn (entry §1.1; the players/materials section's broader 4-6 m range is the general court-size spec, §1.1 fixes 5 m for standard play). The defending team starts inside the circle with stick tips near the hole; the attacking team starts outside the perimeter holding the projectile (entry §1.2-1.3). R2. Attacking-team actions per tick: `pass(teammate_id)` (move the projectile along the perimeter, entry §2.1) or `strike_toward_hole()` (attempt to send the projectile toward the central hole); each `strike_toward_hole()` resolves a stochastic accuracy/power outcome. R3. Defending-team actions per tick: `block()`, `deflect()`, or `sweep_out()` against an incoming projectile (entry §2.2); each resolves a stochastic success check. A defending action is only legal while `foot_in_circle = true` for that defender (entry §2.3) — a defender who leaves the circle boundary while acting forfeits the action's effect [gap-fill: the entry states the foot-anchor requirement as a constraint on defenders but does not specify the consequence of violating it; treating the action as void is the minimal reading, distinct from the attacker-side stick-tag penalty in R4]. R4. Goal scoring (entry §3.1-3.2): if a `strike_toward_hole()` is not blocked/deflected/swept (R3) and the projectile settles in the central hole, the currently-attacking team scores +1 goal. Play immediately resets to a center restart (projectile and player positions reset; `team_role` assignments are unchanged by a goal). R5. Stick tag (entry §4.1): if an attacking player's position crosses onto or over the circle boundary line, any defender within reach may submit `stick_tag(attacker_id)` targeting that player's foot below the ankle; this resolves deterministically (a proximity/position precondition, not a contested check, since the entry describes it as a direct tap rather than a skill contest). R6. Role reversal (entry §4.2): a successful `stick_tag()` immediately swaps `team_role` for both teams — the entire attacking team becomes the defending team and moves inside the circle, and the entire defending team becomes the attacking team and moves outside the perimeter. Team identity and accumulated score are unaffected; only which team can currently score changes. R7. Match structure (entry §5): the match is divided into 4 fixed-length quarters. The match ends the instant either all 4 quarters have elapsed or one team's goal tally reaches 5, whichever occurs first. The team with the higher goal tally at that point wins. ## Edge cases - Tie at the end: if the match ends via the 4-quarters clause (R7) with equal goal tallies, the entry gives no tiebreak — a genuine silence, not an oversight (the 5-goal clause cannot itself produce a tie, since it triggers the instant one team reaches 5, strictly ahead of the other at that moment). - A player with no legal move: not applicable — attacking players always have `pass`/`strike_toward_hole` available; defenders always have `block`/`deflect`/`sweep_out` available while `foot_in_circle = true`, or simply repositioning to restore that precondition otherwise. - Repetition / cycles: possible in principle — role reversal (R6) could in principle occur repeatedly in quick succession between the same two teams without a goal being scored, but this does not prevent termination, since the 4-quarter clock (R7) bounds match length regardless of how many role reversals occur. - Simultaneous claims on one position: not applicable — the projectile has a single well-defined location at all times, passed or struck between discrete holders, not contested for occupancy. - Elimination mid-round and turn-order repair: not applicable — no player is ever removed from play; a role reversal (R6) relabels roles, it does not remove agents. - Resource exhaustion: not applicable — no consumable resource; the projectile and sticks are reused continuously. - Termination guarantee: the match is bounded by a fixed number of quarters (R7), each of fixed length, independent of how many goals or role reversals occur within them; the secondary 5-goal threshold only shortens the match further. The match therefore terminates within a fixed, bounded number of ticks regardless of the stochastic outcomes of individual strikes, blocks, or tags. ## State representation - Persistent (match) state: `score[team]`, `quarter_number`, `team_role[team]`. - Per-tick ephemeral state: `projectile_position`, `player_positions`, `foot_in_circle[defender]`. - Observable information: fully observable — all positions, roles, and scores are public; no hidden information. ## Action space - `pass(teammate_id)`: attacking-team player only; precondition: `team_role[own_team] = attacking`, holds projectile. - `strike_toward_hole()`: attacking-team player only; precondition: `team_role[own_team] = attacking`, holds projectile. - `block()` / `deflect()` / `sweep_out()`: defending-team player only; precondition: `team_role[own_team] = defending`, `foot_in_circle = true`. - `stick_tag(attacker_id)`: defending-team player only; precondition: `attacker_id` is on or over the circle boundary line, tagging defender in reach. ## Playability notes - Single-player-vs-AI: workable as human-controls-one-player-on-a-team vs AI teammates and AI opponents; the role-reversal mechanic (R6) gives a natural moment-to-moment tactical decision for a human attacker (how close to press the boundary). - Reducing 3-6 players per team to fewer: mechanically consistent, though a very small team weakens both the passing options (R2) and the defensive coverage (R3) proportionally. - Physical-skill games: real stick-handling, blocking reflexes, and shot accuracy are the entire game and are collapsed into stochastic checks (R2-R3); no genuine hand-eye coordination is modeled. The stick-tag (R5) is treated as deterministic since it is a positional tap, not a contested skill action. - What is lost: the actual fast-paced stick-checking reflexes, the pastoral field-hockey-precursor texture, and the physical risk/reward tension of an attacker deliberately crowding the boundary line to pressure defenders. ## Implementation hints State is modest (positions, roles, scores, quarter counter); the design difficulty is calibrating the strike/block/deflect success probabilities (R2-R3), none of which the source quantifies. First milestone: implement one quarter with flat stochastic parameters to verify goal-scoring (R4) and role-reversal (R5-R6) logic, then wire up the 4-quarter/5-goal match-ending clause (R7).

Download as JSON

Download the full game corpus entry for this game as structured JSON.

Download JSON
Cite this page

Stick-circling defense game (Armenia). (n.d.). Games of Countries. https://gamesofcountries.com/games/am-armenia/klaek

@misc{gamesofcountries-am-armenia-klaek,
  title = {Stick-circling defense game (Armenia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/am-armenia/klaek}
}