Formal Specification
Swazi Traditional Obstacle Footrace and Agility Contest — Formal Specification
Eswatini · strength-endurance · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 3
# Umjaho — AI-optimized specification
> **Reconstructed source.** The entry carries a provenance warning: its rules were written from
> general knowledge, not read from the two historical works it cites (Kuper 1947; Marwick 1940).
## General idea
A traditional Swazi cross-country obstacle footrace contested during warrior age-grade (*Libutfo*)
ceremonial assemblies. Competitors sprint across a 1000-meter rugged outdoor course while carrying a carved
wooden race baton (*Induku*). The course features three distinct natural obstacles: a 1.2-meter hurdle wall,
a 2-meter ditch jump, and a loose gravel sprint. Dropping the baton incurs an immediate 10-second retrieval
penalty. The first runner to cross the finish line with their baton intact wins the race.
## Formal model
- **Abstraction taken:** Discretized cross-country racing. Continuous locomotion, obstacle vaulting, and
stamina exertion are discretized into 100-meter progress intervals with obstacle-specific clearance checks.
- **Player/agent count:** 2 to 10 competitors (entry §Players).
- **Turn model:** Simultaneous tick-based race simulation; all competitors advance concurrently each tick.
## Formal rules
R1. Setup (entry §1): competitors start simultaneously at the starting line, each holding a **carved wooden
race baton** (*Induku*).
R2. Course layout (entry §2): a **1000-meter course** featuring 3 designated obstacles:
- **1.2m hurdle wall** (at 300m mark);
- **2m ditch jump** (at 600m mark);
- **Loose gravel sprint** (from 800m to 1000m finish).
R3. Baton drop penalty (entry §3): dropping the race baton incurs an **immediate 10-second penalty** during
which the runner must halt and retrieve the baton before resuming forward progress.
R4. Win condition (entry §4): the **first competitor to cross the finish line with baton intact** wins the race.
R5. Obstacle clearance mechanics:
[gap-fill: obstacle negotiation is modelled via agility/speed tests; failing an obstacle incurs a time
delay or increases baton-drop probability].
R6. Course discretization:
[gap-fill: the 1000m course is divided into discrete ticks where distance gained depends on runner speed,
stamina, and terrain modifier].
R7. Tiebreak:
[gap-fill: simultaneous finish-line crossings share victory or are resolved by photo-finish timing].
## Edge cases
- Tie at the end: unaddressed; if two runners cross the 1000m mark on the exact same tick, the entry defines
no tiebreak procedure; shared victory is standard.
- A player with no legal move: not applicable; all active runners advance along the course each tick.
- Repetition / cycles: distance along the 1000m track is strictly non-decreasing; no backward movement or
spatial cycling exists.
- Simultaneous claims on one position: multiple runners can occupy the same distance interval simultaneously
without collision blocking.
- Elimination mid-round and turn-order repair: runners who fall behind remain active on the course; all
competitors continue until the winner crosses the finish line.
- Resource exhaustion: runner stamina depletes monotonically over the 1000m distance; course distance
remaining decreases monotonically to 0.
- Termination guarantee: guaranteed; because course distance is strictly finite (1000m) and runners have a
strictly positive minimum forward velocity per tick, the finish line is reached in finite time deterministically.
## State representation
- Persistent state: `distance[p]` ∈ [0.0, 1000.0], `stamina[p]` ∈ [0.0, 1.0], `baton_intact[p]` (bool), `penalty_timer[p]` ∈ [0.0, 10.0].
- Per-tick ephemeral state: `speed[p]`, `obstacle_event[p]`, `drop_occurred[p]`.
- Observable information: fully observable positions along the track and baton statuses.
## Action space
- `sprint_pace(pace_level)`: competitor selects effort level (e.g. conserve, steady, sprint), trading
instantaneous speed against stamina consumption.
- `clear_obstacle(technique)`: competitor attempts obstacle vault/jump at designated course markers (R2).
- `retrieve_baton()`: mandatory recovery action executing the 10-second retrieval penalty upon a drop (R3).
## Playability notes
- Single-player-vs-AI: compelling pace-management racing game; balancing stamina expenditure across the
three obstacles is critical to avoid late-race gravel exhaustion.
- Reducing n > 4 to 2 agents: lossless; racing mechanics function identically for 2 runners.
- Physical-skill games: continuous athletic endurance is mapped to stamina decay and obstacle check functions.
- What is lost: the royal kraal ceremonial setting, mountain ridge terrain textures, and warrior praise songs.
## Implementation hints
Model the race in 10-meter increments across 100 ticks. At distance 300m (hurdle) and 600m (ditch), trigger
obstacle clearance rolls testing `agility`: failure rolls add 5 seconds or trigger a baton drop with `penalty_timer = 10.0`.
From 800m to 1000m (gravel), apply a 0.75x speed modifier and double stamina consumption. First runner with
`distance >= 1000.0` and `baton_intact == True` triggers race completion. Suggested first milestone: multi-runner
stamina-paced simulation across the 1000m track with obstacle checkpoints.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Swazi Traditional Obstacle Footrace and Agility Contest (Eswatini). (n.d.). Games of Countries. https://gamesofcountries.com/games/sz-eswatini/umjaho-swazi
@misc{gamesofcountries-sz-eswatini-umjaho-swazi,
title = {Swazi Traditional Obstacle Footrace and Agility Contest (Eswatini)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/sz-eswatini/umjaho-swazi}
}