Skip to main content
Formal Specification

Master of the Mound / King of the Hill — Formal Specification

Sweden · strength-endurance · Confidence: high

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 6
# Herre på täppan — AI-optimized specification ## General idea A dynamic king-of-the-hill territory defense and grappling game where one agent occupies the elevated summit of a mound and defends it against multiple ascending challengers. Challengers scramble up the slopes to unseat the reigning Master through physical leverage, body checks, and pushes. When the Master is displaced, the victorious challenger claims the peak and immediately shifts to defending against all other agents. ## Formal model - **Abstraction taken:** Continuous physical hill topography and full-contact wrestling are discretized into a radial elevation grid consisting of 3 discrete concentric tiers: Tier 0 (Base/Ground), Tier 1 (Slopes, capacity K=4), and Tier 2 (Summit, capacity 1). Physical grappling is replaced by simultaneous action selection (`PUSH`, `BRACE`, `CHARGE`, `PULL`) resolved via a balance-and-force comparison with stochastic noise. - **Player/agent count:** N agents (N≥3; benchmark N=5: 1 Master M, 4 Challengers C1…C4). - **Turn model:** Synchronous discrete ticks (t=1…Tmax⁡). ## Formal rules R1. **Setup:** The terrain consists of concentric altitude zones: Base (h=0), Slope positions (h=1), and a single Summit cell (h=2). Initially, Agent 1 occupies Summit (h=2) with role `MASTER`; remaining agents begin at Base (h=0) with role `CHALLENGER`. R2. **Scoring Objective:** - Each tick an agent successfully retains sole possession of the Summit (h=2), they earn +1 Summit Point [gap-fill]. - The first agent to accumulate Starget=30 Summit Points wins the match [gap-fill]. R3. **Movement & Climbing:** - On each tick t, Challengers at Base (h=0) can execute `climb()` to enter a vacant Slope slot at h=1. - Challengers on the Slope (h=1) can choose to `charge_summit()`, `grapple_master()`, or `brace()`. R4. **Summit Combat Resolution:** - If one or more Challengers attack the Summit on tick t, the Master and attacking Challengers submit simultaneous combat actions: - Master submits: `DEFEND_PUSH(target_id)` or `MASS_BRACE()`. - Attacking Challenger Ci submits: `UPWARD_SHOOT()`, `TACKLE_PULL()`, or `SIDESTEP()`. - Grapple outcome: Probability of Challenger Ci unseating the Master is given by P(unseat)=σ(PowerCi−PowerM+Advantagestance+Summit_Bonus) [gap-fill]. R5. **Role Transition & Displacement:** - If an attack succeeds, the Master is deposed, tumbling down to Base (h=0) and losing the `MASTER` role. - The successful attacking Challenger Ci advances to Summit (h=2) and immediately assumes the `MASTER` role for tick t+1. - If the attack fails, Challenger Ci is pushed back down to Base (h=0) with a 1-tick stun [gap-fill]. R6. **Multiple Simultaneous Attackers:** - If multiple Challengers attack on the same tick, Master's defense power is divided among targets, increasing joint unseating probability [gap-fill]. - If multiple attackers succeed simultaneously, the challenger with the higher raw attack roll claims the summit [gap-fill]. ## Edge cases - Tie at the end condition: If two players reach Starget=30 simultaneously (impossible in standard play as only 1 player occupies the summit at any tick), victory goes to the current summit holder. - A player with no legal move: Grounded or stunned players are restricted to recovery actions (`recover()` / `wait()`). - Repetition / cycles: The game state cannot cycle indefinitely because summit time strictly increments each tick, guaranteeing monotonic progress toward Starget. - Simultaneous claims on the same resource or position: The Summit (h=2) has a hard capacity of 1; R6 breaks simultaneous claim ties via highest combat roll. - Player elimination mid-round: If an agent disconnects, their points are frozen and the remaining agents continue contesting the mound. - Resource exhaustion (pieces, tokens, space, time): Spatial capacity is bounded by the hill tiers; match is bounded by total ticks Tmax⁡=150. - Termination guarantee: At least 1 agent is always at the summit during active ticks, generating +1 point per tick. A winner is guaranteed in at most N×Starget ticks. ## State representation - **Persistent state:** - `agent_points`: map of agent ID → integer ∈[0,Starget]. - `agent_attributes`: map of agent ID →{strength,balance,weight}. - `match_tick`: integer ∈[1,Tmax⁡]. - **Per-turn ephemeral state:** - `current_master`: agent ID. - `agent_positions`: map of agent ID →{tier:0..2,slot:0..K}. - `stuns`: map of agent ID →remaining_stun_ticks. - `combat_actions`: map of agent ID →submitted_action. - **Observable information:** - Fully observable: All agent positions, points, tier occupancy, and summit identity are common knowledge. ## Action space - `climb()`: move from Tier 0 to Tier 1. - `charge_summit()`: initiate assault from Tier 1 to Tier 2. - `defend_push(target_id)`: executed by Master to repel a specific attacker. - `mass_brace()`: executed by Master to increase multi-attacker defense at the cost of single-target effectiveness. - `recover()`: clear stun state while at Base. ## Playability notes - Single-player-vs-AI: Highly playable as an arcade-style King of the Hill game — human as Master fending off waves of AI bots, or human as challenger timing assaults when the Master is distracted. - Group games (n>4): The multi-agent free-for-all reduces cleanly to a 2-agent duel (1 Master vs 1 Challenger) where the challenger attempts repeated ascents against a single defender. - Physical-skill games: Physical body mass, balance, and wrestling grips are abstracted into normalized strength/balance attributes and stance matchup matrices. - What is lost in the adaptation: The visceral contact of grappling on real grass/snow, bruises, and physical tumbling down an actual hillock. ## Implementation hints Low-to-moderate complexity. The simulation is driven by a simple 3-tier state machine and a combat resolution table. Branching factor is 3–4 actions per agent per tick. First milestone: implement a 2-player summit duel and verify that higher-tier defenders have an intrinsic leverage advantage against single-attacker charges.

Download as JSON

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

Download JSON
Cite this page

Master of the Mound / King of the Hill (Sweden). (n.d.). Games of Countries. https://gamesofcountries.com/games/se-sweden/herre-pa-tappan

@misc{gamesofcountries-se-sweden-herre-pa-tappan,
  title = {Master of the Mound / King of the Hill (Sweden)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/se-sweden/herre-pa-tappan}
}