Formal Specification
Paiwan Five-Year Festival Bamboo Pole Ball Piercing — Formal Specification
Taiwan · festival-ritual · Confidence: low
← Back to game pageImplementation 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 . Agents adjust pole base angles to steer their flexible pole tips toward the predicted ball descent point .
- **Player/agent count:** 2 to 10 clan warrior agents positioned along a circle of radius .
- **Turn model:** Round-based discrete trials: each ritual toss is an independent flight cycle (, resolved across 15 sub-second ticks).
## Formal rules
R1. **Ritual Arena & Materials:**
- Circular arena of radius around center scaffold .
- Each agent has fixed base position .
- Bamboo pole of length with flex stiffness and tip point .
R2. **Sacred Ball Launch:**
- Priest launches ball from with initial 3D velocity , ascending to apex and descending through the interception plane at position .
R3. **Warrior Pole Maneuvering (Per Flight Tick):**
- Each agent applies steering torque to guide their pole tip toward the anticipated target coordinate.
- Pole tip response exhibits elastic lag and natural oscillation frequency .
R4. [gap-fill] **Ball Piercing Interception Resolver:**
At the instant when the ball crosses :
- For each agent , distance error is .
- Pierce condition: An agent pierces the ball if .
- Pierce probability if within capture radius:
- 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 , the round is shared as a joint blessing.
R6. **Sacred Ball Types & Scoring:**
The festival consists of sequential ball tosses, each bearing a distinct ancestral meaning:
- **Auspicious Balls (Millet harvest, Wild boar luck, Health):** to 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 .
- `ball_types`: array of 10 ball omen descriptors.
- **Per-flight ephemeral state:**
- `flight_tick`: integer in .
- `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:* .
- `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 .
- 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 JSONCite 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}
}