Formal Specification
The Bear Is Sleeping (traditional Norwegian singing dramatic circle game) — Formal Specification
Norway · singing-circle · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 7
# Bjørnen sover — AI-optimized specification
## General idea
Bjørnen sover ("The Bear Is Sleeping") is a dramatic singing-circle and sudden-burst tag game where a central sleeping player abruptly awakens on the vocal cue "TRYGG!" and chases scattering circle members across a bounded area. The structural hook lies in the abrupt state transition from rhythmic synchronous countdown circling to simultaneous spatial evasion and pursuit within a tight circular perimeter.
## Formal model
- **Abstraction taken:** The continuous singing cadence is abstracted into a discrete countdown timer (chorus ticks ). Spatial dispersal and pursuit are discretized onto a 2D grid where distance, burst acceleration, and direction selection determine tag capture before reaching an outer boundary.
- **Player/agent count:** 4 to 20 agents (1 Bear agent, Circle agents). Standard model: 6 agents (1 Bear vs. 5 Escapers).
- **Turn model:** Two-phase round structure. Phase 1 (Chant): synchronous clock ticks. Phase 2 (Chase): simultaneous-action discrete ticks ().
## Formal rules
R1. **Initial Setup:** The game takes place on a discrete 2D grid with radius centered at . The Bear agent begins at in state `ASLEEP`. All Escaper agents are positioned evenly at radius in state `LINKED`.
R2. **Chant Phase:** A countdown clock runs for ticks [gap-fill: fixed number of melodic measures mapping to lyrics]. During this phase, Escapers move in synchronized clockwise angular steps; the Bear cannot act.
R3. **Awakening Trigger:** On tick , the Bear's state transitions to `AWAKE` and Escapers transition to `FLEEING`.
R4. **Chase Movement:** During Phase 2, all agents submit simultaneous movement vectors each tick. Escapers move up to speed , while the Bear moves up to speed with [gap-fill: Bear speed advantage set to to reflect forward momentum upon waking].
R5. **Tag Resolution:** If at the end of any tick the Euclidean distance between the Bear and an Escaper is (where unit), Escaper is tagged. The round ends immediately; Escaper is designated the Bear for the subsequent round.
R6. [gap-fill] **Evasion Boundary / Safety Timeout:** If ticks elapse without any Escaper being tagged, or all Escapers cross the boundary , the Bear remains Bear for the next round, and a new round begins.
R7. **Game Termination:** [gap-fill] A match is played across a fixed schedule of rounds. An agent's objective is to minimize total rounds spent as Bear.
## Edge cases
- **Tie at the end condition:** Not applicable for single rounds; if two Escapers are equidistant within on the same tick, the Bear resolves the tie by selecting one target index deterministically [gap-fill: lowest agent ID]. In overall match scoring, tied agents share the ranking.
- **A player with no legal move:** Boundary collisions restrict movement to sliding along grid bounds; an agent unable to move outward must remain stationary or move tangentially.
- **Repetition / cycles:** Bounded by fixed round tick limit and match round limit .
- **Simultaneous claims on the same resource or position:** Grid positions permit multiple Escapers to occupy the same cell; if the Bear enters a multi-occupied cell, the target with lowest numerical index is tagged [gap-fill].
- **Player elimination mid-round; turn order repair:** No player is eliminated mid-round; all agents remain active across all rounds.
- **Resource exhaustion:** No physical tokens consumed; spatial grid and round budgets are constant.
- **Termination guarantee:** Each round strictly terminates within at most ticks ( ticks). The entire match provably ends after rounds.
## State representation
- **Persistent state:** `round_number` , `bear_id` , `cumulative_bear_rounds` (array of length ).
- **Per-round state:** `phase` , `tick` .
- **Per-agent state:** `pos` , `status` .
- **Observable information:** Fully observable state; all positions, velocities, and roles are public to all agents.
## Action space
- `chant_step()`: Escaper action during Phase 1 (determines clockwise step).
- `flee(dx, dy)`: Escaper directional movement vector with .
- `pursue(dx, dy)`: Bear directional movement vector with .
## Playability notes
- **Single-player-vs-AI:** Natural adaptation. Player controls either the Bear attempting to trap heuristic/RL fleeing agents, or an Escaper predicting the Bear's wake-up lunge trajectory.
- **Group games (n>4):** Naturally scales up to 20 agents. To reduce to a 2-agent duel, 1 Bear chases 1 Escaper within an obstacle-laden arena with reduced [gap-fill].
- **Physical-skill games:** Physical sprinting agility is modeled through discrete maximum acceleration and turning radius limits.
- **What is lost in the adaptation:** Choral vocal synchronization, somatic anticipation, toddler tactile contact, and playful theatricality.
## Implementation hints
- Discrete 2D simulation with bounding circle. Branching factor per tick is low (8 directions + wait).
- Suggested first milestone: Implement the two-phase state machine with 2D Euclidean distance collision check and uniform random escaping agents.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
The Bear Is Sleeping (traditional Norwegian singing dramatic circle game) (Norway). (n.d.). Games of Countries. https://gamesofcountries.com/games/no-norway/bjornen-sover
@misc{gamesofcountries-no-norway-bjornen-sover,
title = {The Bear Is Sleeping (traditional Norwegian singing dramatic circle game) (Norway)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/no-norway/bjornen-sover}
}