Formal Specification
Taiwanese Top Spinning (Daxi Tops) — Formal Specification
Taiwan · top-spinning · Confidence: low
← Back to game pageImplementation 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 determined by thrower skill, cord tension, and target aim, followed by continuous spin decay and collision resolution.
- **Player/agent count:** 1 to 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` .
- `material_hardness` (e.g., Guava wood , Boxwood ).
- `tip_sharpness` .
- `stability_factor` .
R2. **Winding & Throw Action:**
The agent selects:
- `aim_target`: on the ground plane.
- `throw_force`: .
- `pull_snap`: .
R3. [gap-fill] **Spin Initiation Resolver:**
Landing coordinates and initial rotational velocity are sampled:
If or landing tilt , the cast is a "Dead Top" (*sí kam-lo̍k*) and immediately stops.
R4. **Endurance Decay Mode:**
- Spin velocity decays according to .
- Duration until collapse () is the time when falls below the critical threshold .
- The top with the largest wins the endurance round.
R5. **Attack Duel Mode (*Tīng-ko͘-ki* / 釘孤枝):**
- **Defender Phase:** Player 1 casts first to establish a spinning top at .
- **Attacker Phase:** Player 2 casts with aim attempting a direct strike with their metal nail tip.
- **Collision Resolution:**
- Distance . If , a direct collision occurs.
- Impact damage to Defender .
- Ejection check: If impact impulse knocks Defender outside the boundary ring (), 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 (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 (), 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 () and the 5-round match cap.
## State representation
- **Persistent state:**
- `players`: array of `{id, top_specs, score, skill_rating}`.
- `current_round`: integer in .
- `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, .
## 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 JSONCite 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}
}