Formal Specification
Eight and Four / The Cowrie Shell Square Race Game — Formal Specification
India · board-race · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 3
# Ashta Chamma — AI-optimized specification
## General idea
Ashta Chamma is an ancient South Indian cross-circuit race board game played on a grid of 25 cells using four cowrie shells as binary dice. Players navigate four pawns along an outer 16-cell counter-clockwise perimeter, must execute at least one mandatory capture ("cut") to unlock access to the inner 8-cell clockwise ring, and finally bear off into the central home square on an exact roll. The combination of non-uniform dice distributions, bonus turn chains, safe havens, and circuit reversal makes it a rich stochastic race game.
## Formal model
- **Abstraction taken:** Direct representation of the board grid. The board is structured as two concentric rings: Outer Ring (16 cells, indexed counter-clockwise) and Inner Ring (8 cells, indexed clockwise), connected to the central Home Cell .
- **Player/agent count:** 2 to 4 players ().
- **Turn model:** Sequential turns rotating counter-clockwise, with conditional bonus rolls.
## Formal rules
R1. **Board Topology & Safe Squares:**
- Board cells for .
- Home entry ports (Safe squares ): , , , .
- Central Home square is safe.
- All 5 safe squares () permit unlimited co-occupancy by friendly and opposing pawns without capture.
R2. **Cowrie Shell Randomizer Distribution:**
- On a throw, 4 binary cowrie shells are tossed. Outcome mouths facing upwards, with Bernoulli probability per shell (empirically ):
- (*Ekka*), no bonus roll.
- (*Dho*), no bonus roll.
- (*Theen*), no bonus roll.
- (*Chamma*), bonus throw.
- (*Ashta*), bonus throw.
- A player rolls continuously as long as a 4 or 8 is rolled. All rolled values form a multiset of movement credits that may be allocated among eligible pawns.
R3. **Pawn Entry:**
- Each player possesses 4 pawns. All pawns start off-board in hand.
- Any valid rolled movement value allows a player to enter a pawn from hand onto their starting safe square , expending that movement credit [gap-fill: standard domestic ruleset].
R4. **Outer Circuit Navigation & Captures:**
- Pawns advance along in a counter-clockwise direction.
- **Capture ("Cut" / Kill):** If a pawn lands by exact count on a non-safe cell occupied by a single opponent pawn:
- The opponent's pawn is captured and sent back to its owner's hand (must re-enter from scratch).
- The capturing player is credited with .
- The capturing player receives immediate bonus throw added to their roll sequence.
R5. **The Mandatory Cut & Inner Circuit Entry:**
- A pawn that completes the 16-cell outer loop and returns to its home entry port can only enter if .
- If , the pawn is prohibited from entering the inner ring and must continue traversing another lap of until the player executes a capture with any pawn.
- Upon entering , the pawn traverses the 8 inner cells in a **clockwise** direction.
R6. **Bearing Off to Home & Victory:**
- A pawn in enters only on an exact roll from its final inner track cell.
- A pawn in achieves state (*pakka*) and is permanently finished.
- The first player to bring all 4 pawns into wins the game immediately.
R7. **No-Move Rule:** [gap-fill] If a rolled movement credit cannot be legally allocated to any pawn on the board or in hand (e.g. overshooting or blocked by mandatory cut rules), that specific credit is forfeited.
## Edge cases
- **Tie at the end condition:** Not applicable — turns are strictly sequential, and the first player to achieve 4 finished pawns wins instantly.
- **A player with no legal move:** Any rolled credit that cannot be legally applied to any pawn is discarded without penalty.
- **Repetition / cycles:** A pawn without a cut may cycle repeatedly. [gap-fill] To guarantee termination, if a game reaches 200 total rounds without a winner, the player with the most pawns closest to Home (or highest finished count) is awarded the win.
- **Simultaneous claims on the same resource or position:** On non-safe cells, landing on an opponent's pawn resolves as a capture; multiple friendly pawns cannot stack (or move together) on non-safe cells in the base ruleset. Safe cells accommodate multiple pawns indefinitely.
- **Player elimination mid-round; turn order repair:** Captured pawns return to hand; turn order remains unchanged among all active players.
- **Resource exhaustion (pieces, tokens, space, time):** 4 pawns per player are invariant; dice rolls are re-generated per turn.
- **Termination guarantee: why the game provably ends:** Guaranteed by monotonic progress of pawns through , combined with the 200-round limit.
## State representation
- **Persistent state:**
- : list of active players.
- for .
- .
- .
- .
- **Per-turn ephemeral state:**
- : multiset of integers .
- .
- **Observable information:** Fully observable public board state.
## Action space
- `roll_dice()`: Tosses the 4 cowrie shells, appending roll values and triggering bonus rolls when rolling 4 or 8.
- `move_pawn(pawn_id, dice_value)`: Applies a selected `dice_value` from `available_dice_credits` to advance `pawn_id` along its legal trajectory.
- `forfeit_credit(dice_value)`: Discards a `dice_value` when no legal move exists for that credit.
## Playability notes
- **Single-player-vs-AI:** Highly playable. Expectimax or MCTS algorithms perform exceptionally well given the probabilistic branch structure of cowrie rolls.
- **Group games ():** Standard game supports 2 to 4 players; a 2-player configuration is completely symmetrical and preserves 100% of the strategic dynamics.
- **Physical-skill games:** Physical cowrie toss is modeled via a 4-trial Binomial random variable with .
- **What is lost in the adaptation:** The physical clatter of cowrie shells landing on a wooden veranda or cloth mat.
## Implementation hints
- Model the board as an explicit coordinate-to-track map: 16 outer indices, 8 inner indices, 1 home index per player.
- Branching factor: After rolling dice credits, allocating them to 4 pawns generates permutations (typically legal move branches per turn).
- Obvious representational trap: Reversing the direction in the inner loop (outer is counter-clockwise, inner is clockwise) and forgetting to enforce the mandatory cut constraint before permitting inner-loop entry.
- Suggested first milestone: Implement the 4-cowrie randomizer and 2-player pawn track mapping; verify capture bonuses and mandatory cut gating.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Eight and Four / The Cowrie Shell Square Race Game (India). (n.d.). Games of Countries. https://gamesofcountries.com/games/in-india/ashta-chamma
@misc{gamesofcountries-in-india-ashta-chamma,
title = {Eight and Four / The Cowrie Shell Square Race Game (India)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/in-india/ashta-chamma}
}