Formal Specification
Dibra Fortress (Human Fortress Leap) — Formal Specification
Albania · strength-endurance · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 4
# Kala dibrançe — AI-optimized specification
## General idea
A physical team endurance and hidden-information contest where an attacking squad executes sequential vaulting mounts onto a rigid human defensive bridge. If all attackers mount successfully without touching the ground or breaking the structure, a hidden finger-guessing phase decides whether the defending team breaks free or remains on defense.
## Formal model
- **Abstraction taken:** The continuous biomechanics of human vaulting and weight-bearing are abstracted into a structural collapse threshold and a stochastic mount-landing resolver. The finger challenge is modeled as a uniform integer choice in `{1..5}` with hidden state.
- **Player/agent count:** 2 teams of `K` agents (default `K = 5`).
- **Turn model:** Sequential round structure comprising a multi-step Mounting Phase followed by a Guessing Phase.
## Formal rules
R1. Setup: Team A is `FORTRESS` (defenders), Team B is `RIDERS` (attackers). Round counter `round = 1`. Scores: `score_A = 0`, `score_B = 0`.
R2. Structural Integrity Model: The Fortress has structural capacity `Capacity = K * 100` stamina units [gap-fill]. Each mounted rider exerts `Weight_impact ~ Uniform(60, 110)` units on landing and `Weight_static = 70` sustained units.
R3. Mounting Phase: Attackers `j ∈ {1..K}` mount sequentially:
- Attacker `j` chooses vault target zone `z ∈ {1..K}`.
- Landing check: Attacker lands successfully with probability `P_land = 0.85` [gap-fill].
- If landing fails (attacker touches ground): Mounting fails immediately. Roles swap (`RIDERS` become `FORTRESS`). Round ends with 0 points.
- If landing succeeds: Fortress sustained load increases by `Weight_impact`.
- Structural Collapse Check: If total load exceeds remaining `Capacity`, the Fortress collapses (`COLLAPSE`). The attacking team scores `+1` point; roles do not swap (defenders must re-form Fortress in next round).
R4. Guessing Phase: If all `K` attackers are mounted cleanly without collapse:
- Lead Attacker selects a hidden finger count `F ∈ {1..5}`.
- Fortress Leader submits a guess `G ∈ {1..5}`.
- If `G == F` (correct guess): Fortress successfully breaks free! Defending team scores `+1` point; roles swap (`FORTRESS` becomes `RIDERS`).
- If `G != F` (wrong guess): Attackers score `+1` point; roles do not swap.
R5. Win condition: The first team to reach 5 points wins the match immediately [gap-fill].
R6. [gap-fill] Match cap: If after 20 rounds neither team reaches 5 points, the team with the higher score wins; if tied, a single sudden-death round is played.
## Edge cases
- Tie at the end condition: Resolved by R6 sudden-death round.
- A player with no legal move: Not applicable; mounting and guessing options are always available from `{1..K}` and `{1..5}`.
- Repetition / cycles: Bounded by R6's 20-round hard cutoff and monotonic point accumulation.
- Simultaneous claims on the same resource or position: Attackers vault strictly one at a time in fixed order `1..K`.
- Player elimination mid-round; turn order repair: Not applicable; team roster is fixed throughout the match.
- Resource exhaustion (pieces, tokens, space, time): Fortress stamina resets at the start of each new round.
- Termination guarantee: why the game provably ends: Guaranteed because each completed round awards 1 point, and R6 enforces a maximum 20-round bound.
## State representation
- Persistent state: `score_teamA: int`, `score_teamB: int`, `fortress_team: TeamID`, `round_num: int`.
- Per-turn ephemeral state: `fortress_load: float`, `mounted_count: int`, `hidden_fingers: int (1..5)`, `phase: {MOUNTING, GUESSING}`.
- Observable information: Rider positions, scores, and fortress status are public. Hidden finger count `F` is observable only to the lead attacker until guessed.
## Action space
- `vault(target_zone: int)`: Attacker action during `MOUNTING` phase.
- `set_fingers(count: int)`: Lead attacker action during `GUESSING` phase (`count ∈ {1..5}`).
- `guess_fingers(count: int)`: Fortress leader action during `GUESSING` phase (`count ∈ {1..5}`).
## Playability notes
- Single-player-vs-AI: Needs adaptation — best modeled as player controlling the full attacking or defending squad against an AI squad.
- Group games (n>4): Reduces to 2 squad captains choosing vault zones and finger numbers.
- Physical-skill games: Physical impact and balance are abstracted into stochastic thresholds; risk management in zone distribution and psychological guessing remain.
- What is lost in the adaptation: The intense physical strain on the spine, the adrenaline of high-speed running vaults, and group cheering.
## Implementation hints
Discrete state machine with sequential sub-agent vault actions. Branching factor is `K` during mounting and 5 during guessing. First milestone: Implement single-round mounting loop with weight accumulation and finger check before adding match scoring.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Dibra Fortress (Human Fortress Leap) (Albania). (n.d.). Games of Countries. https://gamesofcountries.com/games/al-albania/kala-dibrance
@misc{gamesofcountries-al-albania-kala-dibrance,
title = {Dibra Fortress (Human Fortress Leap) (Albania)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/al-albania/kala-dibrance}
}