Skip to main content
Formal Specification

Hungarian Ringed-Whip Cracking and Target Striking — Formal Specification

Hungary · dexterity-throw · Confidence: high

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 2
# Karikás ostorozás — AI-optimized specification ## General idea A precision dexterity scoring contest where agents control the rotational velocity, trajectory vector, and crack timing of a multi-jointed whip to knock small targets off pedestals from varying distances, combined with a rhythmic timing phase testing periodic tempo consistency. ## Formal model - **Abstraction taken:** The continuous flexible-body whip wave mechanics are abstracted into a 2D aim vector `(x_target, y_target)` and a timing release parameter `t_snap`. Target dislodgment is calculated via a Gaussian error distribution centered on the selected target coordinate. - **Player/agent count:** 1 to N agents, competing sequentially in fixed rounds. - **Turn model:** Strictly sequential rounds: Target Striking Round (3 tiers) → Rhythmic Cracking Round (60-tick window). ## Formal rules R1. Setup: Agents compete across 3 Target Stages (Distances `d = [3.0m, 4.0m, 5.0m]`). Each distance features 3 target slots of varying difficulty: Large (radius 10cm, 1 pt), Medium (radius 5cm, 3 pts), Tiny (radius 2cm, 5 pts). R2. Precision Striking Turn: - For each attempt (3 attempts per distance tier), agent selects `strike_target(target_id, aim_x, aim_y, power, timing_delta)`. - Landing error `(dx, dy) ~ 2D_Gaussian(0, sigma_skill / power)`. - If `sqrt(dx^2 + dy^2) <= target_radius`: Target is struck. - [gap-fill] Pedestal Collision: If `(dx, dy)` hits pedestal body (`|dx| < 3cm` and `dy < -target_radius`), pedestal topples; score = 0 and penalty -2 pts applied. - Otherwise, award points corresponding to target difficulty. R3. Rhythmic Cracking Round (Timed Phase): - Agent attempts a 60-tick sequence of rhythmic crack actions `crack_whip(pattern_id, tick_timestamp)`. - Pattern options: `ForehandBackhand` (base value 1), `FourCorner` (base value 2), `FigureEight` (base value 3). - Timing score: Evaluated against ideal cadence period `T_ideal = 4 ticks`. Error `|t_actual - t_expected|` reduces quality multiplier. R4. Total Score: `Score_total = Score_targets + Score_rhythm`. R5. [gap-fill] Tie-breaking: Higher score on the furthest 5.0m distance tier wins; if still tied, fewest fouls/misses wins. ## Edge cases - Tie at the end condition: Resolved by R5 tie-breaker; if still identical, agents share placement or play a sudden-death single 5m tiny target attempt. - A player with no legal move: Not applicable — aim vector selection is always continuous and unconstrained. - Repetition / cycles: Bounded strictly by fixed attempt counts (3 distance tiers × 3 strikes = 9 target attempts) and fixed 60-tick rhythm window. - Simultaneous claims on the same resource or position: Trials are sequential; targets are reset between attempts. - Player elimination mid-round: Not applicable — all competitors execute all stages; ranking compiled at end. - Resource exhaustion (pieces, tokens, space, time): Target pedestals reset automatically after each strike. - Termination guarantee: Enforced by finite attempt limits per competitor. ## State representation - Persistent state: `scores[agent_id]`, `attempts_history[agent_id]`, `active_agent_id`, `current_stage`. - Per-attempt ephemeral state: `target_id`, `target_radius`, `distance_m`, `pedestal_standing_bool`, `rhythm_tick_counter`. - Observable information: Fully observable target positions, distances, and running point tallies. ## Action space - Target Stage: `strike_target(target_tier_id, aim_offset_x, aim_offset_y, strike_power, snap_timing)`. - Rhythm Stage: `execute_pattern(pattern_id, cadence_rate)`. ## Playability notes - Single-player-vs-AI: Natural high-score arcade/simulation format against calibrated AI difficulty tiers. - Group games (n>4): Scales linearly as a leaderboard tournament without rule changes. - Physical-skill games: Wave propagation and tip sonic acceleration abstracted into a compound accuracy-vs-power trade-off model. - What is lost: The physical sensation of wrist-flick torque, whip weight, and the thunderous sonic boom. ## Implementation hints Low-to-medium complexity. The target-striking subsystem can be parameterized as a 2D dart-throwing mechanic with an asymmetric penalty zone (the pedestal below the target). Suggested first milestone: implement R1–R2 target collision resolver and test scoring distributions against various agent skill parameters.

Download as JSON

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

Download JSON
Cite this page

Hungarian Ringed-Whip Cracking and Target Striking (Hungary). (n.d.). Games of Countries. https://gamesofcountries.com/games/hu-hungary/karikas-ostorozas

@misc{gamesofcountries-hu-hungary-karikas-ostorozas,
  title = {Hungarian Ringed-Whip Cracking and Target Striking (Hungary)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/hu-hungary/karikas-ostorozas}
}