Formal Specification
Tamateem (Sudanese Handkerchief Sprint Duel) — Formal Specification
Sudan · chase-tag · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 3
# Tamateem — AI-optimized specification
## General idea
A simultaneous two-agent sprint and feint game on a 1D discrete line with a central contested token. Agents sprint from opposing baselines to the center. Whichever agent snatches the token becomes the Runner seeking to return to their baseline, while the other becomes the Chaser seeking to tag the Runner before they cross.
## Formal model
- **Abstraction taken:** 2D sprint and feint dynamics are discretized to a 1D discrete line of positions where is Team A's baseline, is Team B's baseline, and is the handkerchief position.
- **Player/agent count:** 2 active agents per duel (representing Team A and Team B).
- **Turn model:** Synchronous discrete ticks (100ms per tick).
## Formal rules
R1. Positions: Agent A starts at , Agent B starts at . Handkerchief is at , `status = ON_GROUND`.
R2. Movement per tick:
- Both agents simultaneously select an action: `ADVANCE` (+1 toward center), `RETREAT` (+1 toward home baseline), `FEINT` (stay in place with momentum advantage), or `GRAB_TOKEN` (only legal if agent is at ).
R3. Grab Resolution:
- If an agent executes `GRAB_TOKEN` at while `status == ON_GROUND`:
- That agent becomes `CARRIER`, handkerchief status becomes `HELD`.
- The other agent immediately becomes `CHASER`.
- If both agents attempt `GRAB_TOKEN` on the exact same tick:
- [gap-fill] Agility tiebreaker assigns the grab; the losing agent becomes Chaser.
R4. Chase & Tag Phase:
- Carrier's goal is to reach their home baseline ( for A, for B).
- Chaser's goal is to occupy the same position as the Carrier (or pass each other in simultaneous step), achieving a `TAG`.
- Illegal premature tag: If Chaser attempts a tag before token is snatched, it is an illegal foul (+1 point to opponent).
R5. Scoring:
- Carrier reaches home baseline safely: Carrier's team receives **+1 point**.
- Chaser tags Carrier: Chaser's team receives **+1 point**.
R6. [gap-fill] Turn Cap per Duel: If 40 ticks elapse without either agent grabbing the token, the referee calls a reset (0 points).
R7. [gap-fill] Match Termination: Match consists of 10 duels. Team with the most points after 10 duels wins.
## Edge cases
- Tie at the end condition: If match score is tied after 10 duels, a single sudden-death duel is played.
- A player with no legal move: All directional movement actions are always available within grid bounds .
- Repetition / cycles: Bounded by the 40-tick hard limit per duel (R6).
- Simultaneous claims on the same resource or position: Handled by R3 simultaneous grab tiebreaker.
- Player elimination mid-round; turn order repair: Points accumulate per team; next duel begins with fresh positions at and .
- Resource exhaustion (pieces, tokens, space, time): Duels strictly terminate at 10.
- Termination guarantee: Guaranteed by the 40-tick duel limit and 10-duel match limit.
## State representation
- Persistent state: `team_scores`: `{TEAM_A: int, TEAM_B: int}`, `duel_index: int`.
- Per-duel state:
- `pos_A`: integer in `[-10, 10]`.
- `pos_B`: integer in `[-10, 10]`.
- `token_carrier`: `NONE | AGENT_A | AGENT_B`.
- `tick_counter`: integer in `0..40`.
- Observable information: Positions, carrier identity, and scores are fully observable.
## Action space
- `act(choice)`: `choice ∈ {ADVANCE, RETREAT, FEINT, GRAB_TOKEN}`.
## Playability notes
- Single-player-vs-AI: Engine-ready; play as human vs AI in reactive standoff duels.
- Group games (n>4): Modeled as a sequence of duels with rotating roster agents.
- Physical-skill games: Reflexes and reaction time are modeled as choice selection under discrete tick constraints.
- What is lost in adaptation: Physical head/hand feints and lateral dodging arcs are simplified to 1D positioning.
## Implementation hints
Extremely simple 1D state machine. First milestone: implement simultaneous action resolution and verify that grabbing at properly initiates the chase phase.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Tamateem (Sudanese Handkerchief Sprint Duel) (Sudan). (n.d.). Games of Countries. https://gamesofcountries.com/games/sd-sudan/tamateem
@misc{gamesofcountries-sd-sudan-tamateem,
title = {Tamateem (Sudanese Handkerchief Sprint Duel) (Sudan)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/sd-sudan/tamateem}
}