Skip to main content
Formal Specification

Thepan (Ceremonial Swordplay) — Formal Specification

Australia · wrestling-combat · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 1
# Thepan (Ceremonial Swordplay) — AI-optimized specification ## General idea Two duellists alternate offering and defending against sword strikes, each armed with a wooden sword and shield, the contest continuing until one surrenders — with a real risk of a solid hit if the shield defence is too slow. ## Formal model State: attacker_id (rotates), defender_id, strike_in_flight (bool), surrender: bool, hits_landed: dict[player_id -> int] (for scoring codifications). ## Formal rules R1. Contestants face off, each with a sword and shield. R2. The attacking contestant attempts a strike aimed at the opponent's body. R3. The defending contestant attempts to block with the shield. R4. If the block fails, the strike lands (a 'hit'); if a defender is notably slow, the source notes a heavy blow to the head is a real documented risk. R5. Roles alternate: the attacker awaits the opponent's return stroke as the new defender. R6. The contest ends when one contestant surrenders. R7. [gap-fill] Assume, absent a documented point-scoring rule for the traditional form, that outright surrender (not accumulated hit count) is the sole traditional end condition, since the source describes 'finally, one would surrender' without mentioning a running score — the codified adaptation's timed/best-of-N structure is a later addition. ## Edge cases Tie at end condition: not applicable under the traditional account — the contest resolves by one party's surrender, not a comparative score. No legal move: not applicable — strike and block are always available to the respective attacker/defender. Repetition/cycles: the strict alternation of attack/defend across many exchanged blows is the documented normal mode, not a failure state. Simultaneous conflicting actions: not applicable — contestants alternate strictly (R2-R5), not acting simultaneously. Mid-round elimination: not applicable — exactly two contestants throughout a duel. Resource exhaustion: contestant stamina/willingness to continue is the implicit resource that ultimately produces a surrender, not formally quantified. Termination guarantee: guaranteed only informally (a duel ends when one party chooses to surrender); the pure traditional account gives no formal bound, so a strictly guaranteed-terminating implementation needs an imposed hit-count or time cap as a gap-fill, per the codified adaptation. ## State representation (attacker_id: player_id, defender_id: player_id, exchange_count: int, surrendered: player_id|None) ## Action space strike(attacker) — attempt to land a blow on the defender's body; block(defender) — attempt to fend off the strike with the shield; surrender(contestant) — voluntarily end the duel. ## Playability notes Because the traditional end condition is a voluntary surrender rather than a scored threshold, a faithful simulation should model contestant 'willingness to continue' as a soft, agent-internal variable (potentially informed by cumulative hits taken) rather than a hard point total, reserving the codified adaptation's explicit hit-count/time-limit rules for an adaptation mode specifically. The documented real risk of a serious head blow on a slow block is worth retaining as a meaningful stakes mechanic distinguishing this from lower-stakes Yulunga contact games. ## Implementation hints Implement two selectable rule modes: a 'traditional' surrender-based endless duel, and a 'codified' timed/best-of-N scored bout, since the source itself presents both as genuinely different structures rather than one simplifying the other.

Download as JSON

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

Download JSON
Cite this page

Thepan (Ceremonial Swordplay) (Australia). (n.d.). Games of Countries. https://gamesofcountries.com/games/au-australia/thepan

@misc{gamesofcountries-au-australia-thepan,
  title = {Thepan (Ceremonial Swordplay) (Australia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/au-australia/thepan}
}