Skip to main content
Formal Specification

Ogress Game — Formal Specification

Iceland · chase-tag · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 6
# Skessuleikur — AI-optimized specification ## General idea A traditional Icelandic dramatic roleplay and territory-tag game based on troll folklore. One player acts as a sleeping giantess or ogress (*Skessa*) curled up in her mountain cave, while other children trespass into her territory to pick imaginary berries while chanting a provocative verse. At an unannounced moment, the ogress roars and bursts from her cave to hunt the trespassing children before they can escape across their safe home boundary line. ## Formal model - **Abstraction taken:** The physical playfield is discretized into a 1D/2D continuous coordinate space containing three zones: the Ogress Cave (x≤0), the Berry-Picking Territory (0<x<L), and the Safe Home Zone (x≥L). Berry-picking rewards and ogress sudden-burst timing are modeled with discrete time-ticks and stochastic sprint speed checks. [gap-fill] Boundary coordinates, berry-harvest accumulation rates, and round limits formalize schoolyard conventions. - **Player/agent count:** N agents (modeled as N=6: 1 Ogress, 5 Children). - **Turn model:** Two-phase rounds: Phase 1 (Stealth Berry-Picking with hidden Ogress charge trigger) followed by Phase 2 (Real-Time Simultaneous Sprint Chase). ## Formal rules R1. Setup: The field has length L=20 meters. The Cave is located at x=0. The Safe Home Line is located at x=L=20. The Ogress begins at x=0 in state `SLEEPING`. All Children begin at x=L in state `SAFE`. R2. Phase 1 — Trespassing & Berry Harvesting: - Children step into the Berry Territory (0<x<L), moving toward the cave. - On each tick of Phase 1, each child in the territory harvests 1 berry point per tick spent within distance d<10 meters of the cave [gap-fill]. - Children recite the 4-line verse (duration: Tchant=10 ticks). - While `SLEEPING`, the Ogress chooses a secret ambush tick tcharge∈[3..10] to burst from the cave [gap-fill]. R3. Phase 2 — The Ogress Charge (*Áhlaupið*): - At tick tcharge, the Ogress transitions to state `CHARGING`, broadcasting an alert roar. - All Children immediately transition to state `FLEEING`, sprinting toward the Safe Home Line (x=L). - On each tick of Phase 2, agents advance according to their maximum sprint speed: Δxchild=Speedchild, Δxogress=Speedogress, with Speedogress>Speedchild (ogress has higher burst acceleration [gap-fill]). R4. Tagging & Capture: - If on any tick the distance between the Ogress and any child is ≤1.0 meter before the child reaches x≥L, the child is tagged (*klukkaður*). - The first child tagged in Phase 2 is designated the Captured Prey. All subsequent tags in the same charge are recorded as secondary captures. - Children crossing x≥L become permanently safe for the round. R5. Role Transition: - If at least one child was tagged, the Captured Prey becomes the new Ogress for the subsequent round; the former Ogress becomes a Child. - If the Ogress fails to tag any child before all children cross x≥L, the Ogress must return to the cave and remain the Ogress for the next round. R6. Game Victory: [gap-fill] The game concludes after **10 rounds**. Each agent's score equals: Total Berries Harvested−(5×Times Tagged as Child). The agent with the highest net score wins. ## Edge cases - Tie at the end condition: Tied scores at round 10 are broken by fewest times caught as child, then highest berries collected [gap-fill]. - A player with no legal move: Not applicable — spatial movement between cave and safe line is always available. - Repetition / cycles: Bounded strictly by the 10-round match horizon (R6). - Simultaneous claims on the same resource or position: Multiple children may harvest berries in the same spatial sector simultaneously; berry resources do not deplete. - Player elimination mid-round; turn order repair: No agent is eliminated; captured children transition roles between Ogress and Child cleanly at round boundaries. - Resource exhaustion: Rounds and field dimensions are fixed; berry points accumulate into persistent scores. - Termination guarantee: Guaranteed by the finite 10-round match ceiling (R6). ## State representation - Persistent state: - `round_number`: integer `[1..10]`. - `current_ogress_id`: agent ID. - `player_scores`: array of records storing `(berries: int, times_tagged: int)`. - Per-round ephemeral state: - `phase`: `{PHASE_1_BERRY_PICKING, PHASE_2_CHARGE}`. - `current_tick`: integer. - `ogress_charge_tick`: integer `[3..10]`. - `agent_positions`: array of floats representing x-coordinates `[0.0..L]`. - `first_tagged_id`: optional agent ID. - Observable information: - Public: all agent positions and accumulated scores. - Hidden in Phase 1: the exact scheduled `ogress_charge_tick` is private to the Ogress agent until triggered. ## Action space - Phase 1 Child: `advance_and_pick_berries(speed)`, `retreat_early()`. - Phase 1 Ogress: `set_ambush_tick(tick: int)`. - Phase 2 Child: `sprint_to_safety()`. - Phase 2 Ogress: `pursue_target(target_child_id)`. ## Playability notes - Single-player-vs-AI: Natural — human plays as a child balancing the greed of staying close to the cave for high berry scores against the risk of the Ogress burst, or plays as the Ogress timing the charge. - Group games (n>4): Scales naturally up to 20 children without modifying the core mechanics. - Physical-skill games: Sprint acceleration and quick turnaround agility are abstracted into scalar speed attributes and reaction latency parameters. - What is lost in the adaptation: The theatrical folklore roleplaying (costumes, monster roars, and pretend berry gathering) is converted into a push-your-luck risk/reward spatial mechanic. ## Implementation hints - Implement the round as a 2-stage tick loop: Phase 1 (ticks 1..tcharge) and Phase 2 (ticks tcharge..Tmax). - The decision problem for children in Phase 1 is a classic optimal stopping / risk-assessment problem under uncertainty. - Suggested first milestone: implement R1–R5 (Phase 1 berry increment, Phase 2 pursuit calculation, tag registration, and role swap).

Download as JSON

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

Download JSON
Cite this page

Ogress Game (Iceland). (n.d.). Games of Countries. https://gamesofcountries.com/games/is-iceland/skessuleikur

@misc{gamesofcountries-is-iceland-skessuleikur,
  title = {Ogress Game (Iceland)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/is-iceland/skessuleikur}
}