Formal Specification
Human Towers — Formal Specification
Spain · festival-ritual · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 2
# Castells — AI-optimized specification
## General idea
A collective architectural risk-management and tower-assembly simulation. A team (*colla*) selects and constructs a multi-tiered human structure tier-by-tier under escalating instability, structural load, and stamina depletion. The strategic decision lies in choosing target tower difficulty (tiers column density base reinforcements) from an official scoring table, balancing high-point rewards against collapse risks during ascent (*carregat*) and descent (*descarregat*).
## Formal model
- **Abstraction taken:** The physical mass of hundreds of individuals is modeled as a structural stability graph. A tower configuration where (height tiers), (width columns per tier), and has an intrinsic instability index and base point value / .
- **Player/agent count:** 1 colla per run (contested across 2..n competing colles in a 5-round tournament format).
- **Turn model:** Discrete tier-by-tier ascent and descent phases per round.
## Formal rules
R1. Competition structure: A performance consists of 5 rounds. A colla may attempt 1 tower per round, with its final score being the sum of its top 3 successfully scored towers.
R2. Tower declaration: In each round, the colla selects a tower target from the official points table (e.g., , , , etc.).
R3. Ascent phase: The tower is assembled tier-by-tier (). At each tier , a stability check is performed:
R4. Crown milestone (*L'Aleta*): If the tower reaches tier without collapse, the *enxaneta* completes the crown (*aleta*). The tower is validated as at least *Carregat* (earning points).
R5. Descent phase: Tiers dismantle in reverse order (). A secondary descent stability check occurs at each descending level:
R6. Scoring resolution per round:
- If descent completes safely to : Tower is *Descarregat*, scoring full points .
- If collapse occurs during descent: Tower is *Carregat*, scoring ().
- If collapse occurs during ascent: Tower is *Intent Fallit*, scoring 0 points.
R7. [gap-fill] Fatigue penalty: Each heavy attempt increases `colla_fatigue` by , slightly raising collapse probabilities in subsequent rounds.
R8. Win condition: The colla with the highest sum from its best 3 scored constructions across the 5 rounds wins the competition.
## Edge cases
- **Tie at the end condition:** [gap-fill] If total points of top 3 towers are tied, the single highest-scoring individual tower breaks the tie; if still tied, the fourth-round tower score is evaluated.
- **A player with no legal move:** Not applicable; colla may always declare a conservative lower-tier baseline tower (e.g. ).
- **Repetition / cycles:** Non-cyclical; bounded strictly by the 5-round limit.
- **Simultaneous claims on the same resource or position:** Not applicable; colles perform in sequential rotation in the town square.
- **Player elimination mid-round:** Not applicable; all colles complete 5 rounds.
- **Resource exhaustion:** Round budget monotonically decrements .
- **Termination guarantee:** Guaranteed by finite 5-round structure.
## State representation
- **Persistent state:** `completed_towers` (list of scored attempts with points), `colla_fatigue` (), `round_number` ().
- **Per-attempt ephemeral state:** `declared_tower` , `current_tier` (), `crown_achieved` (bool), `collapse_event` (bool).
- **Observable information:** Fully observable to all participants.
## Action space
- `declare_tower(tiers, columns, reinforcement)`: Where `tiers` , `columns` , `reinforcement` .
- `abort_construction()`: Voluntary decision to dismantle early before a dangerous collapse if instability exceeds threshold, scoring 0 without fatigue penalty.
## Playability notes
- **Single-player-vs-AI:** Natural; human acts as *Cap de Colla* (team leader), managing risk and strategic declarations against AI rivals.
- **Group games (n>4):** Evaluated as a multi-colla leaderboard tournament (e.g. Concurs de Tarragona).
- **Physical-skill games:** Physical teamwork is abstracted into statistical stability formulas parameterized by colla training and fatigue.
- **What is lost in the adaptation:** The visceral human emotion, the physical pressure of the *pinya*, and the spine-tingling live sound of the *gralles*.
## Implementation hints
Low complexity. The state space is a discrete Markov chain with 2 phase transitions (Ascent Crown Descent). First milestone: Implement official 10-tower difficulty points lookup table, then build the 2-phase stochastic ascent/descent simulator.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Human Towers (Spain). (n.d.). Games of Countries. https://gamesofcountries.com/games/es-spain/castells
@misc{gamesofcountries-es-spain-castells,
title = {Human Towers (Spain)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/es-spain/castells}
}