Skip to main content
Formal Specification

16-Cowrie Gambling — Formal Specification

Nepal · gambling-stake · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 1
# Kauda — AI-optimized specification ## General idea Kauda is a 4-player discrete stochastic lot-casting wagering game using 16 binary randomizers (cowrie shells). Agents hold distinct bet buckets (Tiya, Chauka, Panja, Chhakka) corresponding to the count of face-up shells modulo 4, managing bankrolls, mandatory base stakes (*thini*), and conditional thrower (*hate*) streaks. ## Formal model - **Abstraction taken:** Direct discrete representation. Each cowrie shell is an independent Bernoulli trial with P(face_up)=p≈0.5. The 16-shell throw maps deterministically into the 4 mutually exclusive bet outcomes. - **Player/agent count:** 4 primary agents (Agent 0 = Tiya, Agent 1 = Chauka, Agent 2 = Panja, Agent 3 = Chhakka). - **Turn model:** Round-based; active thrower (*Hate*) holds the dice until losing. ## Formal rules R1. Setup: 4 agents start with initial bankrolls Bi≥Bmin. Base wager amount W (*thini*) is established. R2. Role Assignment: - Agent 0 holds **Tiya** ≡{3,7,11,15} face up. - Agent 1 holds **Chauka** ≡{4,8,12,16} face up. - Agent 2 holds **Panja** ≡{1,5,9,13} face up. - Agent 3 holds **Chhakka** ≡{0,2,6,10,14} face up. R3. Staking Phase: All 4 agents contribute W to the pot P=4W. R4. Casting Phase: The active thrower *Hate* casts 16 independent cowries: K=∑j=116Xj, where Xj∼Bernoulli(p). R5. Resolution: - If K∈Tiya, Agent 0 wins pot P. - If K∈Chauka, Agent 1 wins pot P. - If K∈Panja, Agent 2 wins pot P. - If K∈Chhakka, Agent 3 wins pot P. R6. Turn Retention / Passing: - If the winning agent is the active *Hate*, that agent retains the *Hate* role for the next round. - If another agent wins, the *Hate* role rotates clockwise to the next agent: Hate←(Hate+1)(mod4). R7. Elimination and Win Condition: - If an agent's bankroll Bi<W, that agent is eliminated. - Game terminates when 1 agent holds all bankroll funds or after a fixed round limit N [gap-fill: 100 rounds default]. ## Edge cases - Tie at the end condition: Impossible in round resolution — the sets Tiya, Chauka, Panja, Chhakka form a strict partition of the integer range [0,16]. - A player with no legal move: If bankroll is exhausted, agent is eliminated and remaining agents continue. - Repetition / cycles: Bounded by finite starting wealth and the fixed round limit N. - Simultaneous claims on the same resource or position: Not applicable — bet categories are mutually disjoint. - Player elimination mid-round: Bankrolls are checked strictly between rounds. - Resource exhaustion: Bankrolls drain to 0; total money is conserved. - Termination guarantee: Guaranteed by the finite round limit N or absorbing Markov chain gambler's ruin. ## State representation - `bankrolls`: Array [B0,B1,B2,B3] of integers. - `hate_index`: Integer ∈[0,3]. - `pot`: Integer P. - `round_number`: Integer r∈[1,N]. ## Action space - `place_base_stake(amount)`: Submit mandatory W. - `place_side_bet(target_bet, amount)`: Optional side wager on a secondary category. - `cast_cowries()`: Execute the 16-cowrie stochastic draw. ## Playability notes - Single-player-vs-AI: Natural — 1 human/agent plays against 3 AI bankroll managers. - Group games (n>4): Cleanly handled by allocating extra players to side-bets (*chyangkhe*). - Physical-skill games: Not applicable (pure probabilistic gambling). - What is lost in the adaptation: The tactile slamming of shells onto the wool blanket and social banter. ## Implementation hints Very low complexity, highly suitable for Monte Carlo simulations or game-theoretic bankroll optimization. First milestone: simulate 1,000 rounds of 4 agents with uniform Bernoulli(0.5) throws to verify probability distributions.

Download as JSON

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

Download JSON
Cite this page

16-Cowrie Gambling (Nepal). (n.d.). Games of Countries. https://gamesofcountries.com/games/np-nepal/kauda

@misc{gamesofcountries-np-nepal-kauda,
  title = {16-Cowrie Gambling (Nepal)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/np-nepal/kauda}
}