Skip to main content
Formal Specification

Paiwan Five-Year Festival Bamboo Pole Ball Piercing — Formal Specification

Taiwan · festival-ritual · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 3
# Paiwan Ciqiu — AI-optimized specification ## General idea A sacred ritual dexterity and timing contest based on the Paiwan Indigenous Five-Year Festival (*Maljeveq* / *Djemuljat*). Clan warrior agents wield 10-to-15-meter flexible bamboo poles in a circular arena around a central launch scaffold, adjusting pole sway and tip coordinates to impale a falling rattan-bark ball tossed high into the sky by the priest. ## Formal model - **Abstraction taken:** Massive 3D bamboo cantilever deflection, wind gust dynamics, and mid-air vine-ball penetration are abstracted into a 2D horizontal interception plane at height Hintercept=8.0 m. Agents adjust pole base angles to steer their flexible pole tips toward the predicted ball descent point (xball,yball). - **Player/agent count:** 2 to 10 clan warrior agents positioned along a circle of radius Rring=6.0 m. - **Turn model:** Round-based discrete trials: each ritual toss is an independent flight cycle (Tflight≈3.0 s, resolved across 15 sub-second ticks). ## Formal rules R1. **Ritual Arena & Materials:** - Circular arena of radius Rring=6.0 m around center scaffold (0,0). - Each agent i has fixed base position 𝐩base,i=(Rringcos⁡θi,Rringsin⁡θi). - Bamboo pole of length Li∈[10.0,14.0] m with flex stiffness kflex and tip point 𝐩tip,i. R2. **Sacred Ball Launch:** - Priest launches ball B from (0,0) with initial 3D velocity (vx,vy,vz), ascending to apex Zapex≈12 m and descending through the interception plane Z=Hintercept at position (Xtarget,Ytarget). R3. **Warrior Pole Maneuvering (Per Flight Tick):** - Each agent applies steering torque (τx,τy) to guide their pole tip toward the anticipated target coordinate. - Pole tip response exhibits elastic lag and natural oscillation frequency ω=kflex/mpole. R4. [gap-fill] **Ball Piercing Interception Resolver:** At the instant tintercept when the ball crosses Z=Hintercept: - For each agent i, distance error is di=‖𝐩tip,i−(Xtarget,Ytarget)‖. - Pierce condition: An agent pierces the ball if di≤rball=0.15 m. - Pierce probability if within capture radius: Ppierce,i=clamp(1.0−(di0.15)2,0.0,1.0)⋅warrior_skilli10.0 - The first agent to satisfy the pierce condition captures the ball and claims the ancestral blessing. R5. [gap-fill] **Multi-Tip Collision & Tie Resolution:** - If two or more pole tips simultaneously satisfy the pierce condition on the same tick, priority is awarded to the pole whose tip coordinate is closest to the ball center. If difference is <1 mm, the round is shared as a joint blessing. R6. **Sacred Ball Types & Scoring:** The festival consists of K=10 sequential ball tosses, each bearing a distinct ancestral meaning: - **Auspicious Balls (Millet harvest, Wild boar luck, Health):** +10 to +30 clan blessing points. - **Omen / Taboo Balls (Disaster warding):** Requires immediate cleansing ritual action; fails to award points. R7. [gap-fill] **Festival Conclusion:** The clan with the highest cumulative blessing score after all 10 ritual tosses receives the chief's Five-Year ancestral commendation. ## Edge cases - **Tie at the end condition:** If two clans have equal blessing points after 10 tosses, a bonus celebratory toss (*Pakisuwai*) is conducted to break the tie. - **A player with no legal move:** All agents can continuously guide their pole tip toward any coordinate within their geometric pole reach. - **Repetition / cycles:** Not applicable; match structure is strictly bounded by 10 discrete ball launches. - **Simultaneous claims on the same resource or position:** Resolved by continuous Euclidean distance ranking (R5). - **Player elimination mid-round:** Warriors are not eliminated; every clan competes in all 10 ball tosses. - **Resource exhaustion:** Total balls in the ritual is fixed at 10. - **Termination guarantee:** Guaranteed by finite sequence of 10 ball tosses with discrete physical descent times. ## State representation - **Persistent state:** - `clans`: array of `{id, clan_name, pole_length, skill_rating, total_blessings}`. - `current_ball_index`: integer in [1..10]. - `ball_types`: array of 10 ball omen descriptors. - **Per-flight ephemeral state:** - `flight_tick`: integer in [0..15]. - `ball_3d_pos`: `(x, y, z)`. - `ball_target_2d`: `(x_target, y_target)`. - `pole_tip_positions`: array of `(x, y)` coordinates for all active poles. - **Observable information:** Common visual knowledge of ball arc trajectory and opponent pole tip locations. ## Action space - `aim_pole(target_x, target_y, force)`: - *Parameters:* x,y∈[−8.0,8.0] m,F∈[0,100] N. - `perform_cleansing_prayer()`: Mandatory ritual action if an omen ball is pierced. ## Playability notes - **Single-player-vs-AI:** Playable; an AI agent estimates the 3D parabolic trajectory of the falling ball, applies predictive lead aiming, and compensates for pole flex dynamics. - **Group games (n>4):** Naturally supports 2 to 10 agents competing in a crowded aerial space. - **Physical-skill games:** Physical manipulation of 15-meter bamboo levers is formalized into a second-order elastic mass-spring steering model. - **What is lost in the adaptation:** Sacred ancestral solemnity, rhythmic tribal chanting (*puringau* incantations), and physical vibration of 15-meter bamboo poles rubbing in the wind. ## Implementation hints - Model pole tip motion as a damped harmonic oscillator with target tracking. - Parabolic ball trajectory is evaluated via standard gravity kinematics z(t)=z0+vz0t−12gt2. - Suggested first milestone: Implement single ball drop with 4 pole agents calculating interception Euclidean distances.

Download as JSON

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

Download JSON
Cite this page

Paiwan Five-Year Festival Bamboo Pole Ball Piercing (Taiwan). (n.d.). Games of Countries. https://gamesofcountries.com/games/tw-taiwan/paiwan-ciqiu

@misc{gamesofcountries-tw-taiwan-paiwan-ciqiu,
  title = {Paiwan Five-Year Festival Bamboo Pole Ball Piercing (Taiwan)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/tw-taiwan/paiwan-ciqiu}
}