Skip to main content
Formal Specification

Nubian Stick Sparring — Formal Specification

Sudan · wrestling-combat · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 2
# Al-Mubaraza bil-Asa — AI-optimized specification ## General idea A two-agent martial stick-and-shield fencing duel. Combatants simultaneously select offensive strike zones and defensive shield block positions each discrete tick. Unblocked strikes score points towards victory, while mistimed attacks risk disarm penalties. ## Formal model - **Abstraction taken:** High-speed cane and buckler exchanges are discretized into discrete ticks with a 3-zone guard matrix: `HEAD`, `LEFT_TORSO`, `RIGHT_TORSO`. - **Player/agent count:** 2 agents in a 1v1 bout. - **Turn model:** Synchronous discrete ticks. ## Formal rules R1. Setup: Both agents start with `score = 0`, `stamina = 100`. R2. On each tick, both agents simultaneously select one action from: - `STRIKE(zone)`: `zone ∈ {HEAD, LEFT_TORSO, RIGHT_TORSO}`. - `BLOCK(zone)`: raise shield to defend specified zone. - `FEINT(zone)`: fake attack to misdirect opponent's shield. - `RECOVER`: restore +15 stamina. R3. Resolution Matrix: - If Agent A executes `STRIKE(z)` and Agent B executes `BLOCK(z)`: the strike is parried by the shield; Agent A loses −10 stamina. - If Agent A executes `STRIKE(z)` and Agent B executes `BLOCK(z')` where z′≠z (or `RECOVER`): Agent A scores a `CLEAN_TOUCH` (+1 point) with probability Ptouch=0.75+0.05×(skillA−skillB). - If Agent A executes `FEINT(z)` and Agent B executes `BLOCK(z)`: Agent B's shield is locked in zone z for the subsequent tick. R4. Disarm & Stamina Depletion: - If an agent's stamina reaches 0, they drop their guard (`STUNNED` for 2 ticks; cannot block). R5. [gap-fill] Bout Victory Condition: First agent to reach 3 points wins immediately (+10 match points). R6. [gap-fill] Time Limit: Maximum 30 ticks per bout. If tick 30 is reached with neither agent at 3 points, higher score wins. ## Edge cases - Tie at the end condition: If both agents have equal points at tick 30, a single sudden-death overtime round is conducted; first touch wins. - A player with no legal move: All 4 action types are always available. - Repetition / cycles: Bounded by the 30-tick hard limit (R6). - Simultaneous claims on the same resource or position: Simultaneous unblocked strikes are resolved via agility-priority; if equal, both score +1 point. - Player elimination mid-round; turn order repair: Bout concludes instantly when an agent reaches 3 points. - Resource exhaustion (pieces, tokens, space, time): Ticks strictly expire at 30; points capped at 3. - Termination guarantee: Monotonic point accumulation towards 3 and 30-tick hard cap. ## State representation - Persistent state: `match_scores`: `{AGENT_A: int, AGENT_B: int}`, `current_tick: int in 1..30`. - Per-tick state: - `points`: `{AGENT_A: int, AGENT_B: int}`. - `stamina`: `{AGENT_A: float, AGENT_B: float}`. - `shield_lock`: `{AGENT_A: Zone | None, AGENT_B: Zone | None}`. - Observable information: Scores, stamina levels, and previous actions are public; current-tick choice is private until simultaneous reveal. ## Action space - `act(type, zone)`: `type ∈ {STRIKE, BLOCK, FEINT, RECOVER}`, `zone ∈ {HEAD, LEFT_TORSO, RIGHT_TORSO}`. ## Playability notes - Single-player-vs-AI: Engine-ready; play as human fencer out-reading AI defensive shield positioning. - Group games (n>4): Extends to single-elimination tournament brackets. - Physical-skill games: Real-time hand-eye coordination and stick twirling are modeled as 3-zone simultaneous guard choices. - What is lost in adaptation: The acoustic crack of hardwood on hide buckler and live arena drumming. ## Implementation hints Lightweight simultaneous matrix simulation. First milestone: implement 3-zone strike-vs-block matching table and verify 3-point victory termination.

Download as JSON

Download the full game corpus entry for this game as structured JSON.

Download JSON
Cite this page

Nubian Stick Sparring (Sudan). (n.d.). Games of Countries. https://gamesofcountries.com/games/sd-sudan/al-mubaraza-bil-asa

@misc{gamesofcountries-sd-sudan-al-mubaraza-bil-asa,
  title = {Nubian Stick Sparring (Sudan)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/sd-sudan/al-mubaraza-bil-asa}
}