Skip to main content
Formal Specification

Melanau Giant Ritual Pyramid Swing — Formal Specification

Malaysia · festival-ritual · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 3
# Tibau — AI-optimized specification ## General idea A cooperative multi-agent aerial timing and pendulum-stacking simulation based on the traditional Melanau giant ritual swing. Agents coordinate the physical oscillation of a 10-meter pendulum rope, timing sequential high-platform leaps to catch the swinging rope and latch onto preceding riders, balancing swing amplitude, grip fatigue, and aerodynamic drag to maximize total safely stacked riders without causing a structural fall. ## Formal model - **Abstraction taken:** The nonlinear pendulum dynamics are modeled as an oscillatory state θ(t)=θ0cos⁡(ωt)e−ζt, where θ is the angular displacement from vertical, ω=g/L (L=10.0 m), and ζ represents combined friction and aerodynamic drag which increases linearly with the number of attached riders k. Leaping and catching are modeled as timing-window precision checks parameterized by agent jump timing Δtleap and grip strength. - **Player/agent count:** 1 team of 6 to 10 agents executing sequential cooperative leaps. - **Turn model:** Discrete-cycle event simulation. Each oscillation period T=2πL/g≈6.34 s, the next queued jumper in sequence commits a leap timing offset and grip grip action. ## Formal rules R1. Pendulum state variables: - Angular displacement θ(t)∈[−θmax,θmax] where θmax=70∘. - Current rider count k∈[0..Kteam], initialized to 0. - Accumulated team score C=0. - Structural load status: Wload=∑j=1kmj. R2. Phase 1 — Release & oscillation: - Ground crew releases the pendulum from initial angle θ0=65∘. - Damping factor: ζ(k)=ζbase+k⋅δζ. R3. Phase 2 — Mid-air leap & catch execution: - For jumper i∈[1..Kteam], as the pendulum approaches the apex nearest the launch platform (θ≈θ0), the agent declares leap time tjump. - Timing error Δt=|tjump−tapex|. - Catch success probability: Pcatch=Agilityi×exp⁡(−λtiming⋅Δt)×(1−k10) where (1−k/10) represents spatial crowding on the lower foot-loop and rope. R4. Resolution & stacking: - If catch succeeds: - Rider count increments: k←k+1. - Team score updates: C←C+k (bonus points for stacking depth). - Agent i transitions to `RIDING` state. - If catch fails: - Agent i misses the rope and drops into the sand pit safely, transitioning to `MISSED`. - Rider count k remains unchanged. R5. Fatigue and slip-off check: - During each subsequent swing cycle, all active `RIDING` agents j≤k undergo a grip endurance check: Phold=Strengthj×(1−|θmax(t)|90∘×0.2)−0.05⋅cycles_on_rope - If any rider fails the grip check, they slip into the sand pit (`DROPPED`), decrementing k←k−1. R6. Dismount & round termination: - The attempt ends when either: - All Kteam agents have completed their leap attempts ( [gap-fill]). - Angular amplitude decays below minimum threshold θmax<15∘ ( [gap-fill]). - All remaining riders dismount safely into the pit. R7. [gap-fill] Team comparison: In multi-team tournament play, each team receives 2 attempts; the team achieving the highest single attempt score C wins the festival cup. ## Edge cases - Tie at the end condition: Highest peak rider count max⁡(k); if equal, broken by maximum swing amplitude reached. - A player with no legal move: Not applicable; queuing jumper must choose a leap timing parameter or declare a safe pass. - Repetition / cycles: Impossible; pendulum oscillation decays monotonically due to physical damping ζ(k)>0. - Simultaneous claims on the same resource or position: Jumpers leap strictly sequentially across distinct oscillation cycles. - Player elimination mid-round; turn order repair: A missed or dropped jumper lands safely in the sand pit and exits; subsequent jumpers in the queue proceed on their designated swing cycles. - Resource exhaustion (pieces, tokens, space, time): Maximum team size Kteam=10; rope capacity physically bounded. - Termination guarantee: Enforced by continuous mechanical energy dissipation (positive damping coefficient ζ>0) ensuring amplitude drops below 15∘ within finite cycles. ## State representation - Persistent state: `team_score`, `attempt_number`, `max_stacked_riders`. - Dynamic pendulum state: `(theta, angular_velocity, active_riders_k, current_cycle)`. - Rider states: For each agent i∈[1..Kteam]: `(status, cycles_held, grip_fatigue)`. - Observable information: Fully observable by all team agents. ## Action space - `commit_leap(timing_offset)`: Continuous parameter Δt∈[−1.0,1.0] s relative to estimated swing apex. - `pass_turn()`: Forfeit jump to avoid dangerous low-amplitude collision. ## Playability notes - Single-player-vs-AI: Playable as a cooperative timing-rhythm game where the player controls individual jump timings while AI teammates maintain grip stability. - Group games (n>4): Clean multi-agent cooperative task where optimal coordination requires ordering jumpers by weight, agility, and grip endurance. - Physical-skill games: Real-life high-altitude vertigo and physical bravery are modeled as timing precision and grip survival probabilities. - What is lost in the adaptation: The communal spiritual reverence of *Pesta Kaul*, traditional chanting rhythms, and intense physical wind-rush sensations. ## Implementation hints Model with standard 2nd-order ODE pendulum solver (e.g. RK4 numerical integration) coupled to a discrete event scheduler for jump triggers. First milestone: build the damped pendulum simulation and verify monotonic amplitude decay before adding multi-rider drag and stochastic catch mechanics.

Download as JSON

Download the full game corpus entry for this game as structured JSON.

Download JSON
Cite this page

Melanau Giant Ritual Pyramid Swing (Malaysia). (n.d.). Games of Countries. https://gamesofcountries.com/games/my-malaysia/tibau

@misc{gamesofcountries-my-malaysia-tibau,
  title = {Melanau Giant Ritual Pyramid Swing (Malaysia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/my-malaysia/tibau}
}