Formal Specification
Ducks and Hunters (Romanian Dodgeball) — Formal Specification
Romania · ball-team · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Rațele și vânătorii — AI-optimized specification
## General idea
An asymmetric, discrete dodgeball elimination game on a 2D corridor grid. Two hunters at opposite ends pass and target central ducks. Ducks can choose to evade or attempt high-risk aerial catches to earn extra lives or revive eliminated teammates. When one duck remains, a countdown phase initiates.
## Formal model
- **Abstraction taken:** Court discretized into a 2D grid (, e.g. ). Hunters occupy end baselines and . Ducks occupy the interior corridor . Ball trajectory is modeled as discrete line vectors with flight time and hit probabilities.
- **Player/agent count:** 2 Hunters () and Ducks (, default ).
- **Turn model:** Sequential throw events. Between throws, all active ducks position themselves simultaneously on the grid.
## Formal rules
R1. State tracking: Per duck : `(x, y)`, `lives` (starts at 1), `status` . Active hunter .
R2. Hunter Actions:
- Active hunter holding ball selects target coordinate and throw type .
- Ball travels along line path from to opposing baseline.
R3. Duck Reaction & Hit Resolution:
- If ball trajectory passes through cell of active duck :
- Duck chooses reaction: `dodge()` or `attempt_catch()`.
- If `dodge()`: Hit check: .
- If hit: `D_i.lives -= 1`. If `D_i.lives == 0`, `D_i.status = eliminated`.
- If `attempt_catch()`:
- [gap-fill] Catch probability: .
- If catch succeeds: `D_i.lives += 1` ("Life gained"). Duck may immediately spend 1 life to revive one eliminated teammate (`status = active`).
- If catch fails: Duck is struck directly (`D_i.lives -= 1`).
R4. Turn Transition:
- Ball reaches opposite baseline; the other hunter acquires the ball ().
R5. Final Survivor Countdown:
- When exactly 1 active duck remains (`active_count == 1`):
- A countdown counter `countdown_throws = 10` is initialized.
- Each subsequent throw successfully dodged decrements `countdown_throws -= 1`.
- If `countdown_throws == 0`: Final survivor wins match; all teammates are restored to active status.
- If survivor is hit and has 0 extra lives before reaching 0: Hunters win the round.
R6. [gap-fill] Turn Limit: Match capped at 200 total throws. If hunters fail to eliminate all ducks or trigger the countdown win within 200 throws, Ducks win on points.
## Edge cases
- Tie at the end condition: Not applicable — countdown resolution or total elimination produces a strict binary winner.
- A player with no legal move: Waiting / dodging is always legal.
- Repetition / cycles: Bounded by R6 (hard 200-throw ceiling).
- Simultaneous claims on the same resource or position: Ducks may share grid cells; if ball intersects multiple ducks in the same cell, the front-most duck resolves the interaction first.
- Player elimination mid-round; turn order repair: Eliminated ducks leave the central corridor; when revived, they re-enter at the center cell .
- Resource exhaustion: Extra lives are non-negative integers; ball is conserved.
- Termination guarantee: Enforced by finite countdown (10 throws) and 200-throw overall ceiling.
## State representation
- Persistent state:
- `ducks`: Array of structs: `[x, y, lives, status]`.
- `active_hunter`: 0 or 1.
- `countdown_remaining`: Integer (starts at -1, sets to 10 when 1 duck left).
- `total_throws`: Integer counter.
- Per-throw ephemeral state:
- `ball_trajectory`: Ray vector from to .
- Observable information: Fully observable.
## Action space
- Hunter: `throw_strike(target_x, target_y)`, `pass_ball()`.
- Duck: `move(dx, dy)`, `dodge()`, `attempt_catch()`, `spend_life_revive(teammate_id)`.
## Playability notes
- Single-player-vs-AI: Highly playable as a risk/reward dodgeball simulation. A human duck decides when to risk catching for extra lives.
- Group games (n>4): Scales naturally for ducks.
- Physical-skill games: Physical ducking and catching translated into stochastic probability trees conditioned on agent agility and timing.
- What is lost: Physical adrenaline, stinging ball impacts, and playground roar.
## Implementation hints
- Implement as a discrete raycast collision step.
- Duck heuristic: If `lives > 1`, take higher risks attempting catches to generate teammate revivals; if `lives == 1`, prioritize pure dodging.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Ducks and Hunters (Romanian Dodgeball) (Romania). (n.d.). Games of Countries. https://gamesofcountries.com/games/ro-romania/ratele-si-vanatorii
@misc{gamesofcountries-ro-romania-ratele-si-vanatorii,
title = {Ducks and Hunters (Romanian Dodgeball) (Romania)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ro-romania/ratele-si-vanatorii}
}