Formal Specification
Traditional Swinging (Qiuqian) — Formal Specification
China · festival-ritual · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: abstractedGap-fills: 3
# Dang Qianqiu — AI-optimized specification
## General idea
A traditional Chinese athletic swinging sport (formalized under National Traditional Games of Ethnic Minorities standards) where athletes stand upright on a narrow wooden footboard suspended by long cables from a 12-meter A-frame. Athletes pump their legs and body rhythmically at optimal points of the pendulum arc to build maximum vertical altitude (Height Contest) or to kick and chime an elevated target bell repeatedly within a fixed time window (Touch Bell Contest).
## Formal model
- **Abstraction taken:** Non-linear pendulum physics is discretized into half-period oscillation cycles where leg flexion/extension timing and body leverage determine energy gains and angular apex heights, subject to stamina decay and grip stability.
- **Player/agent count:** 1 athlete (solo heat) or 2 athletes (tandem doubles), competing sequentially in individual scored rounds.
- **Turn model:** Sequential series of discrete pendulum swing half-cycles (maximum 20 full oscillations or a 10-minute timer).
## Formal rules
R1. Structure Setup: A 12-meter A-frame with 2 suspension cables of length . Initial conditions: launch height (from starting platform), `amplitude_angle = 15°`, `stamina = 100%`.
R2. On each half-cycle, the athlete commits an action:
R3. Dynamic Energy Gain:
- Optimal pump at zero phase offset () maximizes mechanical work: .
- Phase error reduces energy gain and incurs extra stamina drain.
- New angular amplitude: .
R4. **Height Contest Discipline:**
- The athlete performs up to 6 trial swing cycles.
- The maximum vertical elevation reached by the footboard is recorded.
- The athlete with the highest apex measurement wins the heat.
R5. **Touch Bell Contest Discipline:**
- The target bell is locked at a fixed regulation height (singles) or (doubles).
- When forward apex height and `kick_target == True`, a bell strike is evaluated:
- Each valid bell chime adds to the athlete's cumulative score.
- Contest lasts 10 minutes or 30 full swing cycles.
R6. Stamina Depletion: High power pumping () drains stamina per half-cycle. If stamina falls below , balance instability increases dramatically.
R7. [gap-fill] Disqualification on Fall: If an athlete loses balance or slips from the footboard, the heat terminates immediately; previously accumulated bell chimes or maximum height prior to the slip are retained.
R8. [gap-fill] Prep Swing Tiebreaker: If two athletes achieve an identical bell-strike tally, the athlete who required fewer preparatory swings before their first bell strike wins.
R9. [gap-fill] Max Amplitude Limit: Physical cable clearance limits the maximum swing angle to (vertical elevation ).
## Edge cases
- **Tie at the end condition:** Resolved by R8 (fewest preparatory swings to first strike in Touch Bell; second-highest trial in Height Contest).
- **A player with no legal move:** Not applicable; passive swinging () is always legal.
- **Repetition / cycles:** Bounded by the 6-trial limit (Height) or 30-cycle / 10-minute cap (Touch Bell).
- **Simultaneous claims on the same resource or position:** Athletes compete in separate, sequential trial heats.
- **Player elimination mid-round:** If an athlete falls, the trial ends and the score is finalized.
- **Resource exhaustion:** Stamina decreases monotonically with physical exertion.
- **Termination guarantee:** Provably terminates within 6 trials or 30 swing cycles by R4/R5.
## State representation
- **Persistent state:** `athlete_id`, `discipline_type`, `best_height_reached`, `total_bell_chimes`, `cycle_counter`.
- **Ephemeral state:** `current_amplitude_angle`, `current_energy_E`, `stamina (0..100)`, `last_bell_ring_success`.
- **Observable information:** Fully observable height readout, bell chime counter, and stamina bar.
## Action space
- `pump_and_kick(power, phase_offset, attempt_kick)`: Commit energy and aerial kick attempt during the current swing cycle.
## Playability notes
- **Single-player-vs-AI:** Highly playable as a rhythm-based athletic sports simulation requiring precise timing at the pendulum nadir.
- **Physical-skill games:** Physical centrifugal forces, leg-pumping rhythm, and aerial toe-kicks are mapped to phase timing and stamina trade-offs.
- **What is lost in the adaptation:** The soaring wind sensation, panoramic aerial view, and intense vertigo of swinging 10 meters above the ground.
## Implementation hints
Discretized harmonic oscillator / parametric pendulum model. Angular amplitude updates via simple trigonometric energy conservation formulas.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Traditional Swinging (Qiuqian) (China). (n.d.). Games of Countries. https://gamesofcountries.com/games/cn-china/dang-qianqiu
@misc{gamesofcountries-cn-china-dang-qianqiu,
title = {Traditional Swinging (Qiuqian) (China)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/cn-china/dang-qianqiu}
}