Skip to main content
Formal Specification

Taiwanese Top Spinning (Daxi Tops) — Formal Specification

Taiwan · top-spinning · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 3
# Da Tuoluo — AI-optimized specification ## General idea A traditional top-spinning and striking contest based on Taiwanese wooden top casting (*tshì-kam-lo̍k* / Daxi Tops). Players wind a cord around a heavy conical hardwood top and execute precision casts to maximize spin duration (Endurance Mode), land onto small elevated pedestals (Target Mode), or split and knock an opponent's spinning top out of the ring with an aggressive strike (Attack Duel / *Tīng-ko͘-ki*). ## Formal model - **Abstraction taken:** Full gyroscopic precession, rope unwinding mechanics, and rigid-body impact dynamics are abstracted into an initial state generator (xland,yland,RPM0,tilt0) determined by thrower skill, cord tension, and target aim, followed by continuous spin decay and collision resolution. - **Player/agent count:** 1 to N players (Endurance/Target) or 2 players (Attack Duel). - **Turn model:** Simultaneous cast in Endurance mode; alternating attack/defense rounds in Duel mode. ## Formal rules R1. **Top Properties:** Each top has: - `mass` m∈[0.1,10.0] kg. - `material_hardness` H∈[1..10] (e.g., Guava wood =8, Boxwood =9). - `tip_sharpness` S∈[1..10]. - `stability_factor` Kstab=f(m,geometry). R2. **Winding & Throw Action:** The agent selects: - `aim_target`: (xtarget,ytarget) on the ground plane. - `throw_force`: F∈[10,100] N. - `pull_snap`: P∈[10,100] N. R3. [gap-fill] **Spin Initiation Resolver:** Landing coordinates (X,Y) and initial rotational velocity RPM0 are sampled: (XY)∼𝒩((xtargetytarget),σaim2I) RPM0=min⁡(4000,50⋅P⋅skillm0.4)⋅(1−ϵthrow) If RPM0<300 or landing tilt |θ0|>45∘, the cast is a "Dead Top" (*sí kam-lo̍k*) and immediately stops. R4. **Endurance Decay Mode:** - Spin velocity decays according to dRPMdt=−(μtip+Cdm)RPM. - Duration until collapse (Tspin) is the time when RPM(t) falls below the critical threshold RPMcrit=50. - The top with the largest Tspin wins the endurance round. R5. **Attack Duel Mode (*Tīng-ko͘-ki* / 釘孤枝):** - **Defender Phase:** Player 1 casts first to establish a spinning top at (X1,Y1). - **Attacker Phase:** Player 2 casts with aim (X1,Y1) attempting a direct strike with their metal nail tip. - **Collision Resolution:** - Distance d=‖(X2,Y2)−(X1,Y1)‖. If d≤r1+r2, a direct collision occurs. - Impact damage to Defender ΔRPM1=−k⋅F2⋅S2/H1. - Ejection check: If impact impulse knocks Defender outside the boundary ring (R=1.0 m), Defender is eliminated instantly. - If Defender survives inside the ring, both tops spin until collapse; the longer-lasting top wins the point. R6. [gap-fill] **Match Structure:** In Attack Duel matches, players alternate roles as Defender and Attacker over 5 rounds. The player with the most round victories wins. R7. [gap-fill] **Tie-Break Protocol:** If rounds are tied at 2−2 (with 1 mutual dead top), a sudden-death simultaneous endurance round is played. ## Edge cases - **Tie at the end condition:** If both tops stop spinning within the same discrete time tick (0.1s), the tie-break sudden-death round is repeated. - **A player with no legal move:** Not applicable; on every turn the active player can execute a throw action. - **Repetition / cycles:** Fixed round limits (5 rounds) prevent infinite loops. - **Simultaneous claims on the same resource or position:** Physical collision equation resolves direct impacts; overlapping resting positions are handled by momentum conservation. - **Player elimination mid-round:** If an attacker commits a "dead top" on launch, the defender automatically wins the active round. - **Resource exhaustion:** Tops and ropes are durable; round counters strictly advance. - **Termination guarantee:** Guaranteed by finite physical spin decay (RPM→0) and the 5-round match cap. ## State representation - **Persistent state:** - `players`: array of `{id, top_specs, score, skill_rating}`. - `current_round`: integer in [1..5]. - `active_role`: `{Defender: id, Attacker: id}`. - **Per-cast / ephemeral state:** - `top_1`: `{x, y, rpm, tilt, is_spinning, in_ring}`. - `top_2`: `{x, y, rpm, tilt, is_spinning, in_ring}`. - `elapsed_time`: float. - **Observable information:** Fully observable physical states and dimensions. ## Action space - `cast_top(target_x, target_y, force, pull_snap)`: - *Preconditions:* Active player's turn, F∈[10,100],P∈[10,100]. ## Playability notes - **Single-player-vs-AI:** Highly playable; AI solves optimal aim and force trade-offs to balance landing accuracy vs. impact kinetic energy. - **Group games (n>4):** Implemented via round-robin tournament flights or mass simultaneous endurance heats. - **Physical-skill games:** Physical rope winding and arm snap are modeled via parameter choice coupled with skill-weighted dispersion. - **What is lost in the adaptation:** Physical resonance of hardwood impacts, rope burn sensations on fingers, and aerodynamic humming tones of hollow tops. ## Implementation hints - Simple 2D trajectory + 1D rotational decay physics. - The collision calculation requires only Euclidean distance and momentum transfer along the collision line. - Suggested first milestone: Implement 2-player Attack Duel with strike collision and ring-ejection scoring.

Download as JSON

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

Download JSON
Cite this page

Taiwanese Top Spinning (Daxi Tops) (Taiwan). (n.d.). Games of Countries. https://gamesofcountries.com/games/tw-taiwan/da-tuoluo

@misc{gamesofcountries-tw-taiwan-da-tuoluo,
  title = {Taiwanese Top Spinning (Daxi Tops) (Taiwan)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/tw-taiwan/da-tuoluo}
}