Formal Specification
Sacred Coconut-Striking Contest — Formal Specification
Sri Lanka · festival-ritual · Confidence: high
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 2
# Pora Pol Gaseema — AI-optimized specification
## General idea
Pora Pol Gaseema is a sacred Sri Lankan ritual combat and inventory-attrition game devoted to goddess Pattini. Two teams (*Udupila* and *Yatipila*) take alternating turns hurling seasoned, dehusked coconuts at each other, which the receiving player must strike and deflect with a hand-held receiving coconut. When coconuts collide at high velocity, one or both shells fracture and are permanently eliminated; the team that preserves at least one intact coconut while exhausting all opposing coconuts wins.
## Formal model
- **Abstraction taken:** The high-velocity physical throwing and mid-air striking of hard coconut shells is abstracted into a discrete collision duel between two coconut entities. Each coconut has a hidden shell hardness / structural integrity `H in [50, 150]`. In each clash, the Thrower chooses a pitch velocity/angle and the Receiver chooses a strike angle/brace stance.
- **Player/agent count:** 2 teams (Team 0: *Udupila*, Team 1: *Yatipila*).
- **Turn model:** Sequential dueling rounds, alternating Thrower and Receiver roles.
## Formal rules
R1. Setup:
- Each team receives a starting pool of `N = 10` cured coconuts (or `N = 50` in full ritual simulation):
- `Pool_Udupila = [Coconut_1, ..., Coconut_N]`.
- `Pool_Yatipila = [Coconut_1, ..., Coconut_N]`.
- Each coconut `c` is initialized with shell hardness `H(c) ~ Normal(100, 15)` and wear damage `D(c) = 0`.
R2. Round Initiation:
- Throwing team selects an active coconut `c_throw` from their pool.
- Receiving team selects an active coconut `c_recv` from their pool.
R3. Action Selection & Impact Dynamics:
- Thrower selects throwing style:
- `Fast_Bullet`: High kinetic energy (`K = 1.3`), lower precision.
- `Precision_Direct`: Moderate energy (`K = 1.0`), high impact accuracy.
- `Lofted_Drop`: Variable energy (`K = 0.8`), high spin.
- Receiver selects striking stance:
- `Solid_Block`: Maximum structural bracing (reduces receiver damage by 20%).
- `Counter_Strike`: Aggressive strike (increases both coconuts' impact damage by 30%).
- `Glancing_Deflection`: High evasive angle (reduces thrower impact energy).
R4. Collision & Fracture Resolution:
- [gap-fill] Impact energy `E_impact = Base_Impact * K * Stance_Modifier * Uniform(0.85, 1.15)`.
- Wear updates:
- `D(c_throw) += E_impact * Wear_Ratio_Throw`.
- `D(c_recv) += E_impact * Wear_Ratio_Recv`.
- Fracture Check:
- If `D(c_throw) >= H(c_throw)`: Thrown coconut shatters/cracks (`c_throw` eliminated from throwing pool).
- If `D(c_recv) >= H(c_recv)`: Receiving coconut shatters/cracks (`c_recv` eliminated from receiving pool).
- If both crack: Both eliminated.
- If neither cracks: Both coconuts survive with accumulated wear damage and return to their pools.
R5. Role Alternation:
- Roles alternate: Thrower becomes Receiver, Receiver becomes Thrower in next round.
R6. Win Condition:
- Play continues until one team's coconut pool reaches 0 (`|Pool| == 0`).
- The team with remaining intact coconuts wins immediately.
- [gap-fill] If both teams deplete their final coconut in the same collision, *Yatipila* (goddess Pattini's side) is awarded the victory in accordance with ritual tradition.
## Edge cases
- Tie at the end condition: Simultaneous last-coconut shatter awards victory to *Yatipila* per ritual tradition.
- A player with no legal move: Not applicable — selecting an active coconut and stance is always legal while pool > 0.
- Repetition / cycles: Bounded strictly by monotonic wear accumulation `D(c)` on all coconuts, ensuring inevitable fracture.
- Simultaneous claims on the same resource: Not applicable — collisions resolve into two distinct coconut damage states.
- Player elimination mid-round: Individual coconuts are permanently eliminated upon fracturing.
- Resource exhaustion: Complete pool exhaustion of one team is the primary victory condition.
- Termination guarantee: Monotonic wear `D(c)` strictly increases upon every collision, guaranteeing all coconuts eventually fracture within finite rounds.
## State representation
- Persistent state:
- `active_coconuts_u` (list of surviving coconut objects with wear and hardness attributes for Udupila).
- `active_coconuts_v` (list of surviving coconut objects with wear and hardness attributes for Yatipila).
- `current_round` (integer).
- `active_throwing_team` (0 or 1).
- Per-turn ephemeral state:
- `selected_throw_coconut`, `selected_recv_coconut`.
- `throw_style`, `recv_stance`.
- `impact_energy`, `cracked_status_throw`, `cracked_status_recv`.
- Observable information: Both teams observe coconut pool counts, coarse visible wear (e.g. Scratched, Chipped, Hairline Strain), and stance actions. Exact numerical hardness `H` and exact wear `D` are hidden variables.
## Action space
- `select_coconut(coconut_index)`:
- Choose which coconut from surviving pool to send into the clash.
- `select_stance(style_or_stance)`:
- Thrower: `{"FAST_BULLET", "PRECISION_DIRECT", "LOFTED_DROP"}`.
- Receiver: `{"SOLID_BLOCK", "COUNTER_STRIKE", "GLANCING_DEFLECTION"}`.
## Playability notes
- Single-player-vs-AI: Engaging inventory attrition and risk management game. The player must decide whether to deploy fresh, hard coconuts early or use damaged coconuts to chip away at opponent aces.
- Group games (n>4): Reduced to 2 team captain agents managing their respective 10-to-50 coconut arsenals.
- Physical-skill games: Projectile throwing and bat-like coconut striking are abstracted into velocity parameters and structural wear formulas.
- What is lost in the adaptation: The explosive loud crack of bursting coconut shells, splashing coconut water, and the sacred aroma of burning saffron water and incense.
## Implementation hints
Low complexity. Coconut entities can be modeled as simple structs/objects with `hardness` and `damage` fields. Milestone 1: implement duel clash simulator, wear calculation formulas, pool pruning, and Yatipila tiebreak in under 100 lines.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Sacred Coconut-Striking Contest (Sri Lanka). (n.d.). Games of Countries. https://gamesofcountries.com/games/lk-sri-lanka/pora-pol-gaseema
@misc{gamesofcountries-lk-sri-lanka-pora-pol-gaseema,
title = {Sacred Coconut-Striking Contest (Sri Lanka)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/lk-sri-lanka/pora-pol-gaseema}
}