Formal Specification
Rabana Drum Spinning and Performance Game — Formal Specification
Sri Lanka · dexterity-small · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 3
# Raban Keliya — AI-optimized specification
## General idea
Raban Keliya is a traditional Sri Lankan dexterity, balance, and percussive performance game. In the solo acrobatic form (*Ath Raban*), performers spin multiple circular frame drums (*rabana*) on narrow pointed sticks, executing complex bodily balance transfers (finger to nose, chin, toes, or aerial tosses) while managing gyroscopic rotational momentum. In the communal form (*Banku Raban*), players seated around a large bench drum duel in accelerating syncopated polyrhythms (*Raban Pada*).
## Formal model
- **Abstraction taken:** The continuous rotational dynamics and hand-eye balance of spinning drums on needles are discretized into a multi-object state machine. Each active drum `d` has a spin velocity `Omega(d) in [0, 100]` RPM and a stability index `S(d) in [0.0, 1.0]`. Performers spend action budget across discrete ticks to impart spin boosts, execute body transfers, or add additional drums.
- **Player/agent count:** 1 active performer per routine (evaluated in a multi-agent leaderboard tournament of `1..6` agents).
- **Turn model:** Sequential routine rounds composed of `T = 20` discrete performance ticks.
## Formal rules
R1. Setup:
- Performer begins with 1 active drum on a hand-held stick (`Drums = [d_1]`).
- Initial spin velocity `Omega(d_1) = 80`, stability `S(d_1) = 1.0`.
- Score `Score = 0`, Faults `Faults = 0`, Available reserve drums = 3.
R2. Discrete Performance Tick (Simultaneous Multi-Drum Management):
- In each tick `t in 1..20`, performer selects 1 primary action from:
- `Boost_Spin(drum_id)`: Impart rotational torque (`Omega(d) += 40`, capped at 100).
- `Add_Drum()`: Deploy a new spinning drum from reserve onto a new balance point (chin, other hand, foot). Requires `reserve > 0`.
- `Transfer_Balance(drum_id, target_point)`: Move spinning drum from hand to chin, forehead, or nose. Difficulty `D = 0.35`.
- `Aerial_Toss_Spin(drum_id)`: Toss spinning drum into air, execute 360-degree body turn, and catch on stick tip. Difficulty `D = 0.65`.
R3. Physics & Stability Update:
- [gap-fill] Gyroscopic Decay: Every tick, all active drums lose spin: `Omega(d) -= 15 + 2 * |Drums|`.
- [gap-fill] Trick Catch Check: For any transfer or aerial toss:
- Catch probability: `P(Success) = max(0.10, (Omega(d) / 100) * (1.0 - D) * Player_Skill)`.
- If success: `Score += Base_Trick_Points * |Drums|`.
- If failure: Drum drops. `Faults += 1`, drum `d` is removed from active set.
- Stall Check: If `Omega(d) <= 10`, drum wobbles and falls (`Faults += 1`, drum removed).
R4. Multi-Drum Multiplier Scoring:
- For every tick that `k` drums remain simultaneously spinning above `Omega >= 30`, performer earns passive equilibrium points: `Score += 10 * 2^(k - 1)`.
R5. Routine Termination & Fault Out:
- Routine terminates at tick 20, or immediately if `Faults >= 3` or all active drums drop (`|Drums| == 0`).
R6. [gap-fill] Communal Bench Drum Duel (Banku Rabana Mode):
- In communal rhythm duel mode, players alternate repeating rhythm patterns of length `L`. Pattern length increments by 1 and tempo increases by 10 BPM each cycle until a player fails a timing check.
## Edge cases
- Tie at the end condition: Resolved by highest maximum simultaneous drums sustained, or declared a shared victory.
- A player with no legal move: Not applicable — `Boost_Spin` is always available for any active drum.
- Repetition / cycles: Bounded strictly by the 20-tick routine limit.
- Simultaneous claims on the same resource: Not applicable — solo routines execute independently.
- Player elimination mid-round: If faults reach 3 or all drums fall, the routine ends immediately and score is frozen.
- Resource exhaustion: Performer holds at most 4 total drums (1 initial + 3 reserve); cannot add drums beyond 4.
- Termination guarantee: Clock strictly increments to 20, guaranteeing finite routine termination.
## State representation
- Persistent state:
- `tournament_scores` (mapping of agent IDs to total routine points).
- `player_dexterity_skill` (float `0.5..1.0`).
- Per-turn ephemeral state:
- `active_drums` (list of drum structs `{id: int, omega: float, location: string}`).
- `reserve_drum_count` (integer `0..3`).
- `current_tick` (integer `1..20`).
- `fault_count` (integer `0..3`).
- `accumulated_score` (float).
- Observable information: Fully observable — all drum velocities, stability indicators, fault counts, and remaining time are public.
## Action space
- `boost_spin(drum_id)`: Apply spin torque to drum `drum_id`.
- `add_drum()`: Introduce a new drum into play. Precondition: `reserve_drum_count > 0` and `|active_drums| < 4`.
- `execute_trick(drum_id, trick_type, target_anchor)`:
- `trick_type in {"TRANSFER", "AERIAL_TOSS"}`.
## Playability notes
- Single-player-vs-AI: Thrilling real-time or turn-based multi-tasking resource management puzzle (similar to plate-spinning / juggling games). The agent balances keeping spin alive on existing drums vs. risking high-scoring multi-drum additions.
- Group games (n>4): Extends naturally as an arcade tournament leaderboard or communal bench rhythm elimination.
- Physical-skill games: Gyroscopic stick balancing and acrobatic foot catches are modeled via spin decay mathematics and probabilistic catch checks.
- What is lost in the adaptation: The resonant festive boom of the fire-warmed bench rabana and the warm aroma of glowing charcoal brazier embers.
## Implementation hints
Low complexity multi-object state machine. Core loop iterates over active drum array, decaying RPM and scoring active multipliers. Milestone 1: implement spin decay, boost actions, trick catch probability formulas, and 20-tick scoring loop in under 120 lines.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Rabana Drum Spinning and Performance Game (Sri Lanka). (n.d.). Games of Countries. https://gamesofcountries.com/games/lk-sri-lanka/raban-keliya
@misc{gamesofcountries-lk-sri-lanka-raban-keliya,
title = {Rabana Drum Spinning and Performance Game (Sri Lanka)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/lk-sri-lanka/raban-keliya}
}