Skip to main content
Formal Specification

Korean Whip-Top Spinning — Formal Specification

South Korea · top-spinning · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Paeng-i chigi — AI-optimized specification ## General idea A real-time or discrete turn-based top battle where two agents control spinning wooden tops inside an arena ring. Each turn, agents decide whether to lash their top to inject angular momentum (RPM), steer its 2D position to pursue the opponent, or execute a direct ramming collision. Collisions transfer kinetic energy and stability shock, with the top that maintains angular velocity and remains within bounds surviving to win. ## Formal model - **Abstraction taken:** Gyroscopic precession, ice friction, and viscoelastic whip strikes are modeled as discrete 2D physics states. Each top i has position 𝐩i∈ℝ2 on an arena ring of radius R=3.0 m, angular velocity ωi∈[0,1000 RPM], and stability Si∈[0,100]. - **Player/agent count:** 2 agents (A1,A2). - **Turn model:** Simultaneous discrete action ticks (Ttick=1.0 s) up to Tmax=30 ticks. ## Formal rules R1. **Initialization:** Tops start at positions 𝐩1=(−1.5,0),𝐩2=(+1.5,0), initial velocity ω1=600,ω2=600, stability S1=100,S2=100. R2. **Action Selection:** On each tick, both agents simultaneously select an action: - `whip_accelerate()`: Focuses solely on spinning power. Δωi=+250⋅θskill, Δ𝐩i=0, ΔSi=−5. - `steer_and_glide(target_vector)`: Manuevers top toward 𝐩target. Displacement Δ𝐩i=0.8 m⋅𝐝ˆ, Δωi=−80. - `power_ram(target_agent)`: Aggressive whip stroke driving top into opponent. Moves up to 1.5 m toward opponent position; Δωi=−120. R3. **Natural Friction Decay:** At the end of every tick, top rotation decays naturally due to ice friction: ωi←max⁡(0,ωi⋅0.85−20). Stability recovers: Si←min⁡(100,Si+5) if no collision occurred. R4. **Collision Resolution:** If ‖𝐩1−𝐩2‖≤0.4 m: - A high-energy collision occurs. - Impact momentum: ΔE=0.5⋅|ω1−ω2|+100. - Stability damage: S1←S1−ΔE/ω1⋅50, S2←S2−ΔE/ω2⋅50. - Tops rebound along the contact normal: 𝐩1←𝐩1−0.5𝐧ˆ, 𝐩2←𝐩2+0.5𝐧ˆ. R5. **Topple & Ring-Out Elimination:** - If ωi≤50 RPM or Si≤0: Top i topples over onto its side (eliminated). - If ‖𝐩i‖>R=3.0 m: Top i is knocked out of the arena ring (eliminated). R6. **Win Condition:** The agent whose top remains spinning upright inside the ring while the opponent's top is eliminated wins immediately. R7. [gap-fill] Time-out Tie-breaker:** If tick Tmax=30 is reached with both tops spinning, the agent with the strictly higher angular velocity ωi wins. ## Edge cases - Tie at the end condition: Handled by R7 via angular velocity comparison; if ω1=ω2, higher stability Si wins. - A player with no legal move: Not applicable; all 3 actions are always legally available while top is spinning. - Repetition / cycles: Bounded; every tick applies friction decay and increments tick counter toward Tmax=30. - Simultaneous claims on the same resource or position: Handled by symmetric physical collision resolver (R4). - Player elimination mid-round; turn order repair: Immediate terminal state upon first elimination in 2-agent form. - Resource exhaustion (pieces, tokens, space, time): Angular velocity monotonically decays without active whipping. - Termination guarantee: Enforced by the finite tick cap Tmax=30 and positive friction dissipation coefficient >0.15. ## State representation - **Persistent state:** Arena radius R=3.0 m, max ticks Tmax=30, agent skill attributes {θskill,i}. - **Per-tick ephemeral state:** Positions (𝐩1,𝐩2), velocities (ω1,ω2), stabilities (S1,S2), current tick t. - **Observable information:** Fully observable; arena positions, RPM gauges, and stability bars are public. ## Action space - `act(action_type, parameter)`: Parameters: `action_type` ∈{WhipAccelerate,Steer,PowerRam}, `parameter` (target 2D coordinate for steering). Precondition: active top is spinning upright. ## Playability notes - Single-player-vs-AI: Highly dynamic arcade combat; player must strategically choose between building RPM reserves and timing ramming lunges. - Group games (n>4): Modeled as a battle royale with N∈[3,6] tops in a shared arena. - Physical-skill games: Whip timing, lash arc, and friction physics are discretized into 2D kinetic state updates. - What is lost in the adaptation: The stinging winter cold, the crack of the whip cord against wood, and the visual hum of lacquered color bands spinning on ice. ## Implementation hints Low complexity. The 2D physics simulation requires only basic vector displacement and distance checks. First milestone: implement single-top RPM decay and whip acceleration curves, then add 2-top distance checking and collision recoil.

Download as JSON

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

Download JSON
Cite this page

Paeng-i Chigi (South Korea). (n.d.). Games of Countries. https://gamesofcountries.com/games/kr-south-korea/paengi-chigi

@misc{gamesofcountries-kr-south-korea-paengi-chigi,
  title = {Paeng-i Chigi (South Korea)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/kr-south-korea/paengi-chigi}
}