Formal Specification
Maltese L-Imnarja Bareback Animal Races — Formal Specification
Malta · animal-contest · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 1
# It-Tiġrija tal-Bhejjem — AI-optimized specification
## General idea
A discretized uphill bareback racing game along a 1000-meter straight course. Agents manage an animal mount's instantaneous speed, incline stamina drain, and final sprint burst to reach the Saqqajja finish line first.
## Formal model
- **Abstraction taken:** The 1000m uphill road is modeled as a 1D track `[0.0, 1000.0]` meters with an average gradient `theta = 5%`. Each agent/mount pair has stamina pool `E in [0, 100]` and speed `v(t)`.
- **Player/agent count:** 4 to 10 competing agents.
- **Turn model:** Synchronous discrete simulation ticks (`dt = 1.0s`).
## Formal rules
R1. Setup: Course length `L = 1000.0` meters. Each mount starts at `pos[i] = 0.0`, `vel[i] = 0.0`, stamina `stamina[i] = 100.0`.
R2. On each tick `t`, each active agent selects an exertion pace `Pace in {Trot, Canter, Gallop, Full_Sprint}`:
- `Trot`: Speed `7.0` m/s; stamina burn `0.2` pts/s.
- `Canter`: Speed `11.0` m/s; stamina burn `1.0` pts/s.
- `Gallop`: Speed `15.0` m/s; stamina burn `3.0` pts/s.
- `Full_Sprint`: Speed `18.0` m/s; stamina burn `8.0` pts/s.
R3. Motion update:
R3.1. If `stamina[i] <= 0`: Mount enters exhaustion state, capping maximum speed to `4.0` m/s (slow trot).
R3.2. Position updates: `pos[i] += vel[i] * dt`.
R4. Win condition: The first agent whose mount reaches `pos[i] >= L` wins the *Palju* banner.
R5. [gap-fill] Photo-finish resolution: If multiple mounts cross `L` on the exact same tick, the mount with the highest position value `pos[i]` wins.
## Edge cases
- Tie at the end condition: Resolved via position overflow in R5.
- A player with no legal move: Not applicable — pace selection is always available.
- Repetition / cycles: Bounded because `pos[i]` is monotonically non-decreasing and `L` is finite.
- Simultaneous claims on the same resource or position: Mounts run in parallel lanes along the wide roadway.
- Player elimination mid-round: Disconnected agents decelerate to 0; remaining jockeys continue.
- Resource exhaustion: Exhausted stamina degrades speed to 4.0 m/s, ensuring mounts still reach the finish line.
- Termination guarantee: Guaranteed by strictly positive velocity `v >= 4.0` m/s, ensuring race completion in under 250 ticks.
## State representation
- Persistent state: `course_length` (float), `race_category` (enum: Donkey, Mule, Mare, Open), `rankings` (list of finished agent_ids).
- Per-tick ephemeral state: `positions` (array of floats 0..1000), `stamina_levels` (array of floats 0..100), `active_paces` (array of enums).
- Observable information: Fully observable by all agents.
## Action space
- `set_pace(pace_mode)`: Choose `Trot`, `Canter`, `Gallop`, or `Full_Sprint`.
## Playability notes
- Single-player-vs-AI: Natural — human jockey manages energy reserves against AI opponents using varied pacing tactics.
- Group games (n>4): Simulates large multi-rider heats cleanly.
- Physical-skill games: Bareback balance and animal psychology abstracted into stamina efficiency curves.
- What is lost: The raw equestrian power, dust, and roaring crowd on Saqqajja Hill.
## Implementation hints
1D continuous distance tracker with stamina decay integration. Suggested milestone: Verify that premature full sprinting causes exhaustion before 700 meters.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Maltese L-Imnarja Bareback Animal Races (Malta). (n.d.). Games of Countries. https://gamesofcountries.com/games/mt-malta/it-tigrija-tal-bhejjem
@misc{gamesofcountries-mt-malta-it-tigrija-tal-bhejjem,
title = {Maltese L-Imnarja Bareback Animal Races (Malta)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/mt-malta/it-tigrija-tal-bhejjem}
}