Skip to main content
Formal Specification

Human Towers — Formal Specification

Spain · festival-ritual · Confidence: low

← Back to game page

Implementation 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 (H,W,R) where H∈[4,10] (height tiers), W∈[1,5] (width columns per tier), and R∈{net,folre,manilles} has an intrinsic instability index ℐ and base point value Vdescarregat / Vcarregat. - **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., 3de8, 4de9f, 5de8, etc.). R3. Ascent phase: The tower is assembled tier-by-tier (t=1…H). At each tier t, a stability check is performed: P(collapset)=logistic(κ0+κ1⋅t+ℐ(H,W,R)−CollaStrength−BaseSupport) R4. Crown milestone (*L'Aleta*): If the tower reaches tier H without collapse, the *enxaneta* completes the crown (*aleta*). The tower is validated as at least *Carregat* (earning Vcarregat points). R5. Descent phase: Tiers dismantle in reverse order (t=H…1). A secondary descent stability check occurs at each descending level: P(collapse_descentt)=logistic(κ2+κ3⋅t+ℐ−CollaFatigue) R6. Scoring resolution per round: - If descent completes safely to t=1: Tower is *Descarregat*, scoring full points Vdescarregat. - If collapse occurs during descent: Tower is *Carregat*, scoring Vcarregat (<Vdescarregat). - If collapse occurs during ascent: Tower is *Intent Fallit*, scoring 0 points. R7. [gap-fill] Fatigue penalty: Each heavy attempt increases `colla_fatigue` by 5%, 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. 4de7). - **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 5→0. - **Termination guarantee:** Guaranteed by finite 5-round structure. ## State representation - **Persistent state:** `completed_towers` (list of scored attempts with points), `colla_fatigue` (0..100), `round_number` (1..5). - **Per-attempt ephemeral state:** `declared_tower` (H,W,R), `current_tier` (1..H), `crown_achieved` (bool), `collapse_event` (bool). - **Observable information:** Fully observable to all participants. ## Action space - `declare_tower(tiers, columns, reinforcement)`: Where `tiers` ∈[6,10], `columns` ∈[1,5], `reinforcement` ∈{none,folre,manilles}. - `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 JSON
Cite 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}
}