Formal Specification
Sun-calling rain ritual game — Formal Specification
Azerbaijan · festival-ritual · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: abstractedGap-fills: 1
# Qodu-qodu — AI-optimized specification
## General idea
A non-competitive, cooperative ritual-procession game: a fixed sequence of household visits, each contributing to a shared communal resource, concluding in a feast once every household has been visited. There is no adversary and no win condition — the entire "game" is a resource-accumulation traversal of a finite, fixed set of locations, which is what gives it a genuinely bounded, guaranteed terminal state despite having no competitive stakes.
## Formal model
- **Abstraction taken:** The ritual chant, water-splashing gesture, and effigy-spinning are treated as flavor with no mechanical branching, since the entry describes them as fixed performance beats; the one state-relevant mechanic is each household's stochastic gift contribution, since real generosity/gift type varies and the entry names several possible gift types without a fixed value.
- **Player/agent count:** 1 Procession (Leader plus chorus, modeled as a single aggregate agent since the entry gives no separate mechanical role to individual chorus members), H Household agents, H being the fixed number of households in the village being visited (a session parameter, not specified numerically by the entry).
- **Turn model:** Sequential — the Procession visits one household at a time in a fixed or chosen order.
## Formal rules
R1. Setup (entry §1.1-1.2): the Procession constructs the `Qodu` effigy (flavor, no state effect) and begins with `visited_households = 0` out of a fixed total `H`.
R2. Visit (entry §2.1-2.2): the Procession submits `move_to_household(household_id)` for any unvisited household, then `perform_chant()` (the call-and-response ritual anthem, flavor only, no branching).
R3. Household response (entry §3.1-3.3): the targeted household submits `splash_water()` (flavor gesture, no state effect) followed by `contribute_gift()`, adding a stochastic amount to the shared `gift_sack` [gap-fill: the entry names several possible gift types — flour, wheat, eggs, candies — without a fixed quantity or value scale; a stochastic per-household contribution amount is the minimal faithful reading].
R4. Visit completion: after R3, `household_id` is marked visited (`visited_households += 1`); the Procession may then select the next unvisited household (R2) if any remain.
R5. Concluding feast (entry §4): once `visited_households = H` (every household visited), the Procession submits `communal_feast()`, consuming `gift_sack` to produce the shared feast; this is the activity's terminal state.
R6. Win condition (entry §5): none — the entry explicitly frames this as "a non-competitive communal celebration," with no scoring, no adversary, and no individual winner. Every participant, Procession and Households alike, shares in the same outcome (R5).
## Edge cases
- Tie at the end: not applicable — there is no scoring or competing outcome to tie.
- A player with no legal move: not applicable — the Procession always has `move_to_household()` available for any unvisited household while `visited_households < H`; a targeted household always has `splash_water()`/`contribute_gift()` available when visited.
- Repetition / cycles: not applicable — `visited_households` is strictly monotonically increasing and bounded by `H`; a household, once visited, is never revisited by the formal rules as given.
- Simultaneous claims on one position: not applicable — the Procession visits exactly one household at a time (R2); there is no contested resource among households.
- Elimination mid-round and turn-order repair: not applicable — no agent is ever removed from the activity; every household participates exactly once by construction.
- Resource exhaustion: `gift_sack` only ever accumulates (R3) until consumed in a single terminal event (R5); this is the intended mechanic, not an anomaly.
- Termination guarantee: `visited_households` is a strictly increasing integer bounded above by the fixed, finite `H`, and every visit (R2-R4) completes in a bounded number of steps with no stochastic failure mode that could stall it (the only stochastic element, R3's gift amount, always resolves to *some* value, never blocking progress). The activity therefore reaches its terminal state (R5) in exactly `H` visits, a deterministic bound.
## State representation
- Persistent (session) state: `visited_households` (0 to H), `gift_sack` (accumulated total), `H` (fixed at setup).
- Per-visit ephemeral state: `current_household_id`.
- Observable information: fully observable — the Procession and all households see the full visit history and accumulated `gift_sack`; no hidden information.
## Action space
- `move_to_household(household_id)`: the Procession only; precondition: `household_id` unvisited.
- `perform_chant()`: the Procession only; precondition: at a household, chant not yet performed this visit.
- `splash_water()` / `contribute_gift()`: the currently-visited household only; precondition: `perform_chant()` has occurred for this visit.
- `communal_feast()`: the Procession only; precondition: `visited_households = H`.
## Playability notes
- Single-player-vs-AI: not a natural fit — there is no adversary; a digital adaptation would more sensibly cast the human as the Procession leader choosing visit order and watching `gift_sack` accumulate, with AI-simulated households providing flavor variation in their contributions.
- Reducing/scaling: `H` can be set to any positive integer without structural change, since the game is simply a bounded traversal-and-accumulation loop.
- Physical-skill games: none — the entire activity is ritual performance and resource accumulation with no skill-check mechanics in the source.
- What is lost: essentially the entire ritual and communal texture — the actual call-and-response singing, the playful water-splashing gesture aimed at inducing sunshine, the effigy's construction and symbolic mirror-adorned face, and the closing communal bread-baking that gives the collected gifts their cultural meaning.
## Implementation hints
State is trivial (a visit counter and an accumulator); there is essentially no branching factor to optimize, since this is a linear traversal with one stochastic accumulation step per stop. First milestone: implement the visit-and-accumulate loop (R2-R4) with a placeholder gift-amount distribution to validate the fixed-H termination guarantee (R5), then focus implementation effort on the ritual chant and performance content itself, since the source supports very little additional mechanical depth.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Sun-calling rain ritual game (Azerbaijan). (n.d.). Games of Countries. https://gamesofcountries.com/games/az-azerbaijan/qodu-qodu
@misc{gamesofcountries-az-azerbaijan-qodu-qodu,
title = {Sun-calling rain ritual game (Azerbaijan)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/az-azerbaijan/qodu-qodu}
}