Formal Specification
Bird in the Cage / In the Circle — Formal Specification
Japan · singing-circle · Confidence: low
← Back to game pageImplementation Suitability
Suitability: not-recommendedFidelity: abstractedGap-fills: 3
# Kagome Kagome — AI-optimized specification
## General idea
A traditional Japanese children's circle singing and blindfolded guessing game. One player (the "Oni") sits blindfolded in the center while the remaining players circle clockwise while singing a traditional *warabe-uta* nursery rhyme. Upon the final phrase (*"Ushiro no shōmen daare?"*), all players squat in silence, and the Oni must identify the player positioned directly behind their back.
## Formal model
- **Abstraction taken:** Primarily a social and cultural ritual game rather than a strategic contest (`non-simulable`). The physical rotation and acoustic cues are abstracted into a discrete permutation model where the circle rotates by random steps, and the central Oni attempts to guess the player occupying the rear position based on prior movement memory and probabilistic sound cues.
- **Player/agent count:** `n` players (1 Oni and `n-1` circle participants; minimum `n = 4`).
- **Turn model:** Repeated round-based sequence: rotation phase, freeze trigger, and guessing resolution.
## Formal rules
R1. Setup: One player is designated as the Oni `O` and sits in the center with orientation fixed at angle 0. The remaining `n-1` players form an ordered circular ring `C = [P_0, P_1, ..., P_{n-2}]`.
R2. Circling Phase: During the song, the ring advances clockwise by `k` positions, where `k` is drawn from a discrete random distribution `Uniform(1, n-1)`.
R3. Freeze Phase: At the conclusion of the song (*"daare?"*), the ring halts immediately. The player positioned at the rear index `index_rear = (n-1) // 2` is designated as the true identity `P_rear`.
R4. Guessing Phase: The Oni declares an identity guess `P_guess in {P_0, ..., P_{n-2}}`.
R5. Succession Resolution:
- If `P_guess == P_rear`: The guess is correct. `P_rear` becomes the new Oni for the subsequent round.
- If `P_guess != P_rear`: The guess is incorrect. The current Oni remains in the center for the next round.
R6. [gap-fill] Match scoring and length: A complete match spans a fixed quota of 10 rounds. Each participant earns 1 point for every successful identification made while serving as Oni.
R7. [gap-fill] Auditory clue model: With probability `P_sound = 0.20`, the target player emits an involuntary sound clue (breath/rustle), reducing the Oni's candidate set by 50%.
R8. [gap-fill] Anti-frustration rotation limit: If an Oni fails 3 consecutive guesses, the role passes automatically to a randomly chosen circle player to ensure lively role circulation.
## Edge cases
- **Tie at the end condition:** If multiple players hold equal points after 10 rounds, the match is recorded as a shared draw.
- **A player with no legal move:** Not applicable; circling is mandatory and guessing requires selecting one name from the circle set.
- **Repetition / cycles:** If an Oni repeatedly fails, infinite looping is prevented by the 3-failure forced rotation rule (R8) and the 10-round match cap (R6).
- **Simultaneous claims on the same resource or position:** Not applicable; circle positions are distinct slots in an ordered permutation ring.
- **Player elimination mid-round:** Not applicable; no elimination occurs, roles merely cycle.
- **Resource exhaustion:** No physical resources are consumed.
- **Termination guarantee:** Guaranteed by the fixed 10-round match cap (R6).
## State representation
- **Persistent state:** `scores` (dict mapping each player ID to points), `current_oni_id` (player ID), `consecutive_oni_fails` (int), `round_count` (int in `[1..10]`).
- **Per-round state:** `circle_order` (list of player IDs), `rear_player_id` (player ID).
- **Observable information:** Asymmetric information: Circle players observe the full permutation; the Oni observes only the historical candidate distribution and stochastic sound clues.
## Action space
- Oni: `guess_player(player_id)`.
- Circle players: `sing_and_rotate()` (automated/procedural step).
## Playability notes
- **Single-player-vs-AI:** Unsuitable for deep competitive AI play; best experienced as a lightweight probabilistic mini-game or nursery ritual simulation.
- **Group games (n>4):** Naturally accommodates 4 to 12 participants; 2-agent reduction reduces to a trivial 50/50 coin flip.
- **Physical-skill games:** Not applicable (pure social perception / guessing).
- **What is lost in the adaptation:** The atmospheric, haunting acoustic resonance of the warabe-uta rhyme, playful giggling, and physical blindfolded anticipation.
## Implementation hints
Lightweight permutation shuffle. Can be modeled in 30 lines of code as an array rotation followed by index lookup. First milestone: build the rotation and index-lookup guessing logic with random agent choices.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Kagome Kagome (Japan). (n.d.). Games of Countries. https://gamesofcountries.com/games/jp-japan/kagome-kagome
@misc{gamesofcountries-jp-japan-kagome-kagome,
title = {Kagome Kagome (Japan)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/jp-japan/kagome-kagome}
}