Formal Specification
Al-Ramma (The Living and the Corpse) — Formal Specification
Sudan · chase-tag · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Al-Ramma — AI-optimized specification
## General idea
An infection pursuit game played on a 2D discrete grid with a designated safe boundary. A dormant Chaser (Ramma) chooses an unannounced awakening tick while Runners approach to score provocation points; upon awakening, the Chaser pursues the Runner toward the safe zone, converting tagged Runners into allied Chasers.
## Formal model
- **Abstraction taken:** 2D continuous playground is mapped to a discrete grid where is the Ramma lair and is the safe sanctuary line.
- **Player/agent count:** 1 Ramma agent vs. Runner agents (reduced 2-agent model: 1 Ramma vs 1 Runner).
- **Turn model:** Synchronous discrete ticks (100ms per tick).
## Formal rules
R1. Positions: Ramma begins at , `state = DORMANT`. Runner begins at , `state = ACTIVE`.
R2. Phase 1 (Dormant Provocation):
- While `DORMANT`, Ramma cannot move. Ramma chooses a secret awakening tick .
- Runner may move cell per tick. Each tick spent within radius of awards Provocation Point to Runner.
R3. Phase 2 (The Awakening & Pursuit):
- At tick , Ramma state transitions to `AWAKENED`.
- Both agents move cell per tick simultaneously.
- Runner seeks to reach the safe sanctuary line .
- Ramma seeks to occupy the same cell as Runner before Runner crosses .
R4. Tagging & Conversion:
- If Ramma reaches Runner's cell before : Runner is `TAGGED` (converted to Ramma team, points to Ramma).
- If Runner reaches without being tagged: Runner is `SAFE` (+15 points to Runner).
R5. [gap-fill] Multi-agent Infection: In multi-runner play, tagged agents become auxiliary Chasers in subsequent rounds.
R6. [gap-fill] Round Cap: Maximum 50 ticks per round. Match consists of 6 rounds. Highest total score wins.
## Edge cases
- Tie at the end condition: If both agents have equal scores after 6 rounds, 1 sudden-death 1v1 round is played.
- A player with no legal move: Directional movement on grid is always available.
- Repetition / cycles: Strictly bounded by 50 ticks per round (R6).
- Simultaneous claims on the same resource or position: Collision on a non-safe cell resolves as a successful Tag.
- Player elimination mid-round; turn order repair: Tagged runners become allied chasers for subsequent rounds.
- Resource exhaustion (pieces, tokens, space, time): Grid bounds are fixed; rounds capped at 6.
- Termination guarantee: Monotonic progress toward or tag collision within 50 ticks.
## State representation
- Persistent state: `match_scores`: `{AGENT_A: int, AGENT_B: int}`, `round_number: int in 1..6`.
- Per-round state:
- `ramma_state`: `DORMANT | AWAKENED`.
- `ramma_pos`: `(x, y)`.
- `runner_pos`: `(x, y)`.
- `awakening_tick`: integer .
- `provocation_points`: integer.
- `tick_counter`: integer in `0..50`.
- Observable information: Positions and scores are public. Awakening tick is private to Ramma until transition.
## Action space
- Ramma: `set_awakening_tick(t)`, `move(dx, dy)`.
- Runner: `move(dx, dy)`.
## Playability notes
- Single-player-vs-AI: Engine-ready; play as Runner pushing risk/reward proximity vs AI Chaser, or as Ramma timing the ambush.
- Group games (n>4): Infection mechanic expands naturally to runners with exponential chaser growth.
- Physical-skill games: Sudden sprint acceleration and feigning sleep are abstracted to the secret tick threshold.
- What is lost in adaptation: The theatrical acting of feigning death and physical comedic jumpscares.
## Implementation hints
Discrete 2D grid pursuit-evasion model. First milestone: implement dormant state timer, provocation reward zone, and sanctuary boundary checks.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Al-Ramma (The Living and the Corpse) (Sudan). (n.d.). Games of Countries. https://gamesofcountries.com/games/sd-sudan/al-ramma
@misc{gamesofcountries-sd-sudan-al-ramma,
title = {Al-Ramma (The Living and the Corpse) (Sudan)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/sd-sudan/al-ramma}
}