Skip to main content
Formal Specification

One-Legged Pashtun Combat Tag — Formal Specification

Pakistan · chase-tag · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Khusay — AI-optimized specification ## General idea A turn-based team territorial invasion game where invading agents operate under a severe physical constraint: hopping on one leg while holding the other behind the back. Attackers must maneuver through a defending team's zone to touch a destination target base (*Dopai*), while defenders apply shoulder charges and physical blocks to unbalance the attackers and force their held foot or body onto the ground. ## Formal model - **Abstraction taken:** The 2D playing field is discretized into a coordinate grid `[-10, 10] x [0, 20]`. Midline is `y = 0`. The target base *Dopai* is located at `(0, 18)`. - **Player/agent count:** 2 teams (Attacking Team A, Defending Team B) of `K` agents each (standard `K = 4`). - **Turn model:** Simultaneous state ticks `Delta_t = 0.5` seconds within each raid round. ## Formal rules R1. Setup: Defending agents `D_1..D_K` start in `y in [5, 15]`. Attacking raiders `A_1..A_K` start at `y = 0` with `one_leg_hold = True` and `balance = 100`. R2. On each tick, all active agents submit movement vectors `(dx, dy)`: - Raiders: max speed `v_hop = 1.2` units/tick. - Defenders: max speed `v_run = 1.8` units/tick. R3. Collision and balance resolution: - If distance `dist(A_i, D_j) <= 1.0`, a collision contest occurs. - Raider balance updates: `balance_A -= impact_force(D_j) / defense_rating(A_i)`. - If `balance_A <= 0` or raider exits field boundary `|x| > 10` or `y < 0`: Raider is eliminated (`is_burnt = True`). R4. Objective completion: - If any active raider `A_i` reaches `dist(A_i, (0, 18)) <= 1.0` with `is_burnt == False`: Target *Dopai* is struck. - Attacking Team A scores 1 point immediately, and the round terminates. R5. Defensive victory: - If all `K` raiders are eliminated (`is_burnt == True` for all `i in {1..K}`) before reaching the *Dopai*: Defending Team B scores 1 point, and the round terminates. R6. Roles swap after each completed round. R7. [gap-fill] Match end: Total of 4 rounds (2 attacks per team). Team with higher point total wins. R8. [gap-fill] Tie-break: 1v1 sudden-death solo raider round. ## Edge cases - **Tie at the end condition:** Handled deterministically by 1v1 solo raider sudden death (R8). - **A player with no legal move:** Movement vectors always permit `(0, 0)`. - **Repetition / cycles:** Bounded because raiders continuously expend stamina/balance and are constrained toward the target line `y = 18`. Max 200 ticks per round. - **Simultaneous claims on the same resource or position:** If two raiders touch *Dopai* simultaneously, 1 point is awarded to the attacking team. - **Player elimination mid-round:** Eliminated raiders transition to inactive state and are removed from collision calculations for the rest of the round. - **Resource exhaustion:** Raiders decrement monotonically to zero if not reaching the goal. - **Termination guarantee:** Guaranteed by finite round tick limit (200 ticks) and monotonic raider balance depletion. ## State representation - **Persistent state:** `scores[A, B]`, `current_round in {1..4}`, `attacking_team in {A, B}`. - **Per-tick ephemeral state:** Coordinates `(x, y)` for all active agents, `balance[1..K]` for raiders, `is_burnt[1..K]`, `tick_counter in {1..200}`. - **Observable information:** Fully observable 2D state to all agents. ## Action space - `hop_move(dx, dy)`: Raider displacement vector. - `defend_charge(dx, dy)`: Defender displacement and impact vector. - `brace_balance()`: Raider defensive posture trading speed for balance recovery. ## Playability notes - **Single-player-vs-AI:** Natural; human player steers a hopping raider through an AI defensive wall or coordinates a defensive blocker line. - **Group games (n>4):** Native team structure (4v4 or 6v6). - **Physical-skill games:** The single-leg hopping constraint is modeled via reduced speed `v_hop < v_run` and an explicit `balance` metric that degrades on physical impact. - **What is lost:** The muscular burn in the quadriceps from continuous single-leg hopping and the tactile grip of one's own foot behind the back. ## Implementation hints Low-to-medium complexity. The geometry is a standard 2D corridor evasion game with asymmetric speeds and collision impact math. Implement the balance degradation function first.

Download as JSON

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

Download JSON
Cite this page

One-Legged Pashtun Combat Tag (Pakistan). (n.d.). Games of Countries. https://gamesofcountries.com/games/pk-pakistan/khusay

@misc{gamesofcountries-pk-pakistan-khusay,
  title = {One-Legged Pashtun Combat Tag (Pakistan)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/pk-pakistan/khusay}
}