Skip to main content
Formal Specification

Black Queen 1, 2, 3 — Formal Specification

Croatia · chase-tag · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Crna kraljica 1, 2, 3 — AI-optimized specification ## General idea A timing and deceleration evasion game along a 1D longitudinal axis. Advancing runner agents move toward a base line during an unpredictable auditory chanting interval controlled by a caller agent; upon chant termination, advancing agents must achieve zero velocity before the caller's inspection, with non-zero velocity triggering a reset to the baseline. ## Formal model - **Abstraction taken:** Field modeled as a 1D corridor x∈[0,L] with L=20.0 m. Starting baseline at x=0; Queen Base at x=L. Chant duration sampled as a random variable Tchant∼Uniform(1.5,4.0) s. Runners accelerate during chant and must brake to zero velocity v≤vthresh before Tchant ends. - **Player/agent count:** N agents (Aqueen,A1…AN−1, with N∈[4,12], standard N=6). - **Turn model:** Successive discrete chanting cycles. ## Formal rules R1. Setup: - Queen stationed at x=L facing away. - Runners A1…AN−1 initialized at x=0 with velocity vi=0. R2. Chanting & Sprint Phase: - Queen agent selects chant cadence parameter τ∈[1.5,4.0] s. - While t∈[0,τ), runners choose sprint acceleration ai(t)∈[0,amax]. - State update per tick Δt=0.1 s: - vi(t+Δt)=max⁡(0,vi(t)+ai(t)Δt). - xi(t+Δt)=xi(t)+vi(t)Δt. R3. The Freeze Check (at t=τ): - Queen spins around facing field. - For each runner i, if vi(τ)>vthresh (where vthresh=0.05 m/s) or braking balance fails (Pwobble=f(abrake)): - Runner Ai is CAUGHT MOVING. - Position reset: xi←0; vi←0. - If vi(τ)≤vthresh: Runner remains safely at xi(τ). R4. Touch Base & Victory: - If any runner reaches xi≥L without being caught moving: - Runner Ai WINS the round immediately. - Role transfer: Winning runner becomes Aqueen for next round. R5. Match Termination: - [gap-fill] Match terminates after M=10 full rounds or first agent to achieve 3 round victories as runner. - [gap-fill] Maximum chanting cycles per round Cmax=25; if cap reached, closest runner to x=L wins round. ## Edge cases - Tie at the end condition: If multiple runners cross x≥L in the same chant cycle, the runner with highest x wins. - A player with no legal move: Runners always choose acceleration/braking profile; Queen always samples chant length. - Repetition / cycles: Bounded by hard cycle limit Cmax=25 per round and finite match round cap M=10. - Simultaneous claims on the same resource or position: Position tracking is independent along 1D axis. - Player elimination mid-round; turn order repair: If an agent disconnects, runner set decrements; game continues. - Resource exhaustion: Non-consumable spatial corridor. - Termination guarantee: Strictly positive forward progress expectation per cycle guarantees finite termination. ## State representation - Persistent state: `queen_id: int`, `round_index: int`, `round_wins: dict[int, int]`. - Ephemeral cycle state: `runner_positions: list[float]`, `runner_velocities: list[float]`, `chant_duration: float`, `cycle_index: int`. - Observable information: Runners observe audio time elapsed during chant; Queen has no vision until t=τ; positions and velocities are public at inspection. ## Action space - `set_chant_pace(duration: float)`: Queen cadence selection. - `throttle(acceleration: float)`: Runner acceleration/braking action. ## Playability notes - Single-player-vs-AI: Highly natural; human plays as runner timing sprint-to-stop deceleration under stochastic chant durations. - Group games (n>4): Natively scales to 4–12 agents. - Physical-skill games: Sprint acceleration, braking friction, and balance inertia modeled via 1D Newtonian physics. - What is lost: Visual funny statues poses, stifled children's giggles. ## Implementation hints 1D kinematic continuous time-stepped simulation. First milestone: implement 1 Queen vs 2 runners with fixed chant duration before parameterizing variable cadence AI.

Download as JSON

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

Download JSON
Cite this page

Black Queen 1, 2, 3 (Croatia). (n.d.). Games of Countries. https://gamesofcountries.com/games/hr-croatia/crna-kraljica

@misc{gamesofcountries-hr-croatia-crna-kraljica,
  title = {Black Queen 1, 2, 3 (Croatia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/hr-croatia/crna-kraljica}
}