Formal Specification
The Daruma Doll Fell Down — Formal Specification
Japan · chase-tag · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 4
# Daruma-san ga koronda — AI-optimized specification
## General idea
A stealth, freeze-timing, and sprint-escape game. The "Oni" faces away while chanting a 10-syllable phrase; runners advance across a discretized distance track toward the base. When the chant ends, the Oni spins around to catch moving players, while undetected runners attempt to sever the captive chain and sprint back to safety before the Oni can step and tag them.
## Formal model
- **Abstraction taken:** The continuous physical playground distance (15–20 meters), vocal chanting rhythms, and body posture freezing are discretized onto a 1D track with grid cells `0..D` (where `D=20`). Chanting duration and sprint deceleration are discretized into discrete time ticks.
- **Player/agent count:** 1 Oni agent, `n-1` runner agents (minimum total players: 2; standard: 1 Oni, 1 Runner).
- **Turn model:** Two-phase loop: (1) Approach phase with variable chant duration and simultaneous runner advancement, (2) Escape sprint phase upon base severance.
## Formal rules
R1. Setup: The track is initialized from `x = 0` (Oni base) to `x = 20` (Safety starting line). Runners start at `x = 20`. The Oni is positioned at `x = 0`.
R2. Approach Phase:
- The Oni selects a chant speed profile determining chant duration `T in [2, 3, 4]` ticks.
- Each tick during the chant, each free runner chooses an action: `Sneak` (advance 1 unit, 0% stumble risk, instantaneous freeze), `Sprint` (advance 3 units, requires 1 tick to decelerate), or `Wait` (advance 0 units).
R3. Freeze Detection:
- At tick `T`, the Oni spins around facing the field.
- Any runner still moving (e.g. in deceleration from a Sprint) is detected and placed in the `Captive` set at `x = 0`.
R4. Chain Severance (*Kitta!*):
- When any free runner reaches `x <= len(Captive)`, that runner executes `cut_chain()`.
- All players in `Captive` are immediately liberated to `Free` status at `x = len(Captive)`.
R5. Escape Phase:
- The instant `cut_chain()` is triggered, all runners immediately move toward `x = 20`.
- [gap-fill] After an escape delay of 2 ticks, the Oni calls "Tomare!", forcing all runners to freeze at their current coordinates `x_i`.
- [gap-fill] The Oni receives a budget of 10 step units from `x = 0` to move toward any runner. If the Oni reaches or passes a runner's position (`10 >= x_i`), that runner is tagged.
R6. Resolution:
- If a runner is tagged, that runner becomes the Oni for the next round.
- If no runner is tagged and all runners reach `x >= 20`, the runners win the round, and the Oni remains Oni for the next game.
R7. [gap-fill] Round duration cap: If 15 consecutive chant cycles elapse without a chain severance or all runners being captured, the Oni wins the round by default.
R8. [gap-fill] Captive chain geometry: Each additional captive in the chain extends the cut threshold outward by 1 position unit from `x = 0`.
## Edge cases
- **Tie at the end condition:** Not applicable; role transfer is binary based on whether a specific runner is tagged.
- **A player with no legal move:** When frozen, runners have only the `Freeze` state available; when chanting, the Oni must select a duration.
- **Repetition / cycles:** Runners cannot oscillate indefinitely due to the 15-cycle round cap (R7).
- **Simultaneous claims on the same resource or position:** Multiple runners can occupy the same track cell without collision interference.
- **Player elimination mid-round:** Captured runners enter the captive chain and are inactive until liberated by a teammate's `cut_chain()`.
- **Resource exhaustion:** Finite track space `[0..20]`; step allocation is fixed at 10 units.
- **Termination guarantee:** Guaranteed by finite track length `D=20`, bounded sprint speed, and the 15-cycle round cap (R7).
## State representation
- **Persistent state:** `oni_id` (agent id), `scores` (round wins per agent), `cycle_counter` (int).
- **Per-round state:** `runner_positions` (dict: `agent_id -> int in [0..20]`), `runner_status` (dict: `agent_id -> FREE | CAPTIVE | ESCAPED`), `phase` (APPROACH | ESCAPE | RESOLUTION), `captive_chain` (list of agent ids).
- **Observable information:** Imperfect information during approach: Runners know current chant progress but not exact remaining syllables; Oni does not observe runner movements while chanting.
## Action space
- Oni approach: `chant(speed: SLOW | MEDIUM | FAST)`.
- Runner approach: `move(mode: SNEAK | SPRINT | WAIT)`.
- Runner action: `cut_chain()`.
- Oni escape: `step_tag(target_agent_id)`.
## Playability notes
- **Single-player-vs-AI:** Highly playable; an AI Oni mixes chant rhythms unpredictably, while an AI runner solves a dynamic programming risk model between speed and capture risk.
- **Group games (n>4):** Naturally accommodates multiple runners; the captive chain provides strategic team rescue mechanics.
- **Physical-skill games:** Physical sprinting speed and stillness balance are discretized into movement points and deceleration states.
- **What is lost in the adaptation:** Visual and balance micro-movements (trembling, blinking, subtle weight shifting) detected in real physical play.
## Implementation hints
Discrete 1D grid representation. Branching factor is small (3 movement choices per runner per tick). First milestone: implement the 2-agent (1 Oni, 1 Runner) approach and freeze-detection loop, then add the Tomare escape-step phase.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
The Daruma Doll Fell Down (Japan). (n.d.). Games of Countries. https://gamesofcountries.com/games/jp-japan/daruma-san-ga-koronda
@misc{gamesofcountries-jp-japan-daruma-san-ga-koronda,
title = {The Daruma Doll Fell Down (Japan)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/jp-japan/daruma-san-ga-koronda}
}