Formal Specification
Buganda Dodgeball — Formal Specification
Uganda · ball-team · Confidence: high
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 3
# Kwepena (Kwepena) — AI-optimized specification
## General idea
A two-thrower dodgeball game: throwers positioned at opposite ends of a court try to
eliminate dodgers standing between them by hitting them with a soft ball.
## Formal model
- **Abstraction taken:** physical throwing/dodging is modeled as a per-throw hit
probability, since no source describes ball physics, court dimensions, or a hit-zone
rule (e.g. "below the waist").
- **Player/agent count:** 2 fixed throwers + 2+ dodgers (4-10 typical).
- **Turn model:** real-time in the source game; modeled here as discrete throw events,
one per active thrower per tick.
## Formal rules
R1. Two throwers occupy fixed positions at opposite ends of a court; dodgers occupy the
zone between them.
R2. On a throw event, a thrower targets one active dodger; resolve hit/miss via
`P(hit) = f(thrower_skill, dodger_position)`.
R3. A dodger who is hit is eliminated for the round.
R4. Round ends when all dodgers are eliminated.
R5. [gap-fill: whether throwers and dodgers then swap roles for a new round is not
stated by the source; treat as a configurable house rule, defaulting to swap (consistent
with the genre — see Kati).]
R6. [gap-fill: no source describes a catch mechanic (extra life, thrower elimination, or
similar); implementers should omit catching unless a clearer source is found, rather
than assume one.]
R7. [gap-fill: no scoring system across multiple rounds is documented; treat each round
as a single elimination bout with no persistent score unless extended.]
## Edge cases
- **Tie at the end:** not applicable; round concludes when all dodgers are eliminated.
- **A player with no legal move:** not applicable; dodgers continuously jump and dodge in the central zone.
- **Repetition / cycles:** throwing exchanges continue across the dodging space until dodgers are hit.
- **Simultaneous claims on one position:** unaddressed; single throw striking multiple dodgers eliminates all contacted runners.
- **Elimination mid-round and turn-order repair:** hit dodgers are eliminated; last dodger standing concludes the round (R4); no turn-order repair needed.
- **Resource exhaustion:** active dodger pool strictly shrinks with each hit.
- **Termination guarantee:** guaranteed under R3 alone — the dodger pool strictly shrinks each hit, so a round terminates once all are eliminated.
## State representation
- `dodgers`: set of active dodger IDs.
- `throwers`: fixed pair of thrower IDs at the two end zones.
- `round_active`: boolean.
## Action space
- `throw(thrower_id, target_dodger_id)` — attempt to hit a dodger.
- `dodge(dodger_id)` — implicit continuous action, contributing to `P(hit)`.
## Playability notes
- Best modeled as a real-time arcade-style elimination game; a turn-based adaptation
should give each thrower one throw per tick.
- What is lost in adaptation: the physical throwing/dodging skill itself, and any
chants or scoring conventions not captured by the sources.
## Implementation hints
Implement round-based elimination first (R1-R4) with a flat hit probability; treat
R5-R7 as configurable rule variants rather than fixed defaults, since none is
source-confirmed.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Buganda Dodgeball (Uganda). (n.d.). Games of Countries. https://gamesofcountries.com/games/ug-uganda/kwepena
@misc{gamesofcountries-ug-uganda-kwepena,
title = {Buganda Dodgeball (Uganda)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ug-uganda/kwepena}
}