Skip to main content
Formal Specification

Cowrie Shell Game (Kori Khela) — Formal Specification

Bangladesh · dexterity-small · Confidence: high

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 3
# Kori Khela — AI-optimized specification ## General idea A traditional Bengali tabletop dexterity and betting game played with 4 marine cowrie shells (*kori*). An active player rolls the cowries onto a smooth mat; if all land aperture-down, bonus points are awarded, while all landing aperture-up triggers a real-time snatch scramble. Clean non-touching rolls allow the player to execute index-finger flick strikes (*toka mara*) to hit one shell with another without disturbing a third. Reaching 20 points unlocks a secondary odd-even (*Jor-Bijor*) guessing phase where points are cashed in for forfeits or tokens. ## Formal model - **Abstraction taken:** Physical rolling and spatial dispersion of 4 asymmetric cowries are modeled as a discrete orientation roll (apertures up/down) combined with 2D spatial coordinate placement. Finger flick precision and shell collisions are resolved via distance-based stochastic hit functions. - **Player/agent count:** 2 to 4 players competing in individual rotation. - **Turn model:** Sequential turns in fixed rotation. A successful strike allows the player to roll again; a missed strike or roll foul ends the turn immediately. ## Formal rules R1. Setup: 4 identical cowrie shells. Each shell has two asymmetric resting states: Aperture-Up (*Chit* / mouth facing up, probability pup=0.40) and Aperture-Down (*Upur* / smooth back up, probability pdown=0.60). Target score for Phase 1 is 20 points. R2. The Roll: The active player rolls all 4 shells onto a 1.0m×1.0m surface. Coordinates (xi,yi) and orientations Oi∈{UP,DOWN} are generated for i∈{1,2,3,4}. R3. Roll Faults: - If any shell lands off the surface, or if the Euclidean distance between any two shells d(i,j)<2cm (touching / *jora laga*), a **Fault** occurs: 0 points scored, turn passes to the next player. R4. Special Orientation Outcomes: - 4 Down (*All Upur*): Active player immediately scores +1 point and continues turn with another roll. - [gap-fill] 4 Up (*All Chit* — Scramble): All players simultaneously execute a speed reaction check. Each shell is claimed by the agent with the highest reaction roll; each snatched shell awards +1 point to that player. R5. Flicking Phase (*টোকা মারা*): - If the roll is clean with mixed orientations (1..3 Up), the active player chooses a striker shell Sa and a target shell Sb. - [gap-fill] The player flicks Sa toward Sb: P(Clean Strike)=max⁡(0.10,0.90−0.5×d(Sa,Sb)+0.15×dexterity) - Collision Check with Third Shell: If an intermediate shell Sc lies within the trajectory corridor (width 4cm), a graze foul occurs (P(Graze Foul)=0.70), yielding 0 points and ending the turn. - Success: A clean strike awards +2 points, and the active player retains the turn (rolls again). - Failure: A miss or graze scores 0 points for that attempt and passes the turn. R6. Phase 2 — Odd-Even Guessing (*জোড়-বিজোড়*): - The first player to reach ≥20 points wins Phase 1 and initiates Phase 2 against the lowest-scoring opponent. - Winner conceals K∈{1,2,3,4} cowries in a closed fist and asks "Even or Odd?" - Opponent declares guess G∈{EVEN,ODD}. - [gap-fill] Resolution: - If G==(K(mod2)==0?EVEN:ODD): Guess is correct; cowries transfer to the opponent, ending Phase 2. - If G is incorrect: Winner scores +K penalty points against the loser (converted into playful forfeit taps or wagered tokens). R7. Win Condition: The match ends decisively when Phase 2 concludes, with final standings determined by total accumulated net points. ## Edge cases - Tie at the end condition: In Phase 1, if two players hit ≥20 points during the same scramble round, the player with the higher total score wins; if equal, a 1-roll flick playoff is held. - A player with no legal move: Active player always possesses legal roll/flick actions. - Repetition / cycles: Bounded by monotonic score accumulation toward the 20-point Phase 1 ceiling. - Simultaneous claims on the same resource or position: Scramble events on "All Chit" rolls are resolved by comparing agent reaction speed floats. - Player elimination mid-round; turn order repair: No mid-round elimination; all players cycle in standard rotation. - Resource exhaustion (pieces, tokens, space, time): Exactly 4 cowrie shells are conserved across all turns. - Termination guarantee: Non-zero point acquisition probabilities on every turn guarantee that a player hits 20 points within a finite number of rolls. ## State representation - Persistent state: - `scores`: Map of player IDs to integer points [0..30]. - `active_player_idx`: Integer [0..N−1]. - `phase`: ∈{PHASE1_ROLL_FLICK,PHASE2_JOR_BIJOR,GAME_OVER}. - Per-turn ephemeral state: - `cowrie_states[4]`: Array of `{x: float, y: float, orientation: ENUM[UP, DOWN]}`. - `selected_striker_id`: Integer [0..3]. - `selected_target_id`: Integer [0..3]. - Observable information: Fully observable shell coordinates and orientations in Phase 1; in Phase 2, count K is hidden information until the guess is submitted. ## Action space - `roll_cowries()`: Throw all 4 cowries onto the surface. - `execute_flick(striker_idx, target_idx)`: Flick selected cowrie at target cowrie. - `scramble_snatch()`: Submit reaction speed float during 4-Up scramble. - `conceal_cowries(count)`: (Phase 2 Winner) Hide K∈{1..4} cowries. - `guess_parity(parity_enum)`: (Phase 2 Opponent) Declare `EVEN` or `ODD`. ## Playability notes - Single-player-vs-AI: Smooth tabletop casual game; AI calculates optimal (striker, target) pairs minimizing distance and clear line-of-sight while avoiding grazing third shells. - Group games (n>4): Plays naturally for 2 to 4 players. - Physical-skill games: Asymmetric shell aerodynamics and finger-flick motor skills are parameterized through spatial distance equations and reaction timers. - What is lost in the adaptation: The auditory clatter of smooth cowrie shells rolling on a bamboo mat and the physical scramble to snatch shells. ## Implementation hints Low complexity. The 4-cowrie geometric layout can be simulated with basic 2D line-segment intersection tests for clear flick trajectories. Milestone 1: implement the 4-cowrie roll generator, orientation scoring, and flick trajectory hit/miss checks; Milestone 2: implement the Phase 2 Jor-Bijor bluffing state machine.

Download as JSON

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

Download JSON
Cite this page

Cowrie Shell Game (Kori Khela) (Bangladesh). (n.d.). Games of Countries. https://gamesofcountries.com/games/bd-bangladesh/kori-khela

@misc{gamesofcountries-bd-bangladesh-kori-khela,
  title = {Cowrie Shell Game (Kori Khela) (Bangladesh)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/bd-bangladesh/kori-khela}
}