Skip to main content
Formal Specification

Sukuma Four-Row Mancala — Formal Specification

Tanzania · board-abstract · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: directGap-fills: 3
# Isolo (Isumbi) — AI-optimized specification ## General idea A 4x8 mancala game documented in three distinct rulesets by player group; this spec formalizes the two variants with enough detail to implement (women's, boys') and flags the men's variant as unimplementable pending a better source. ## Formal model - **Abstraction taken:** none beyond selecting which variant ruleset to run. - **Player/agent count:** 2. - **Turn model:** strictly alternating, within whichever variant is selected. - **Variant selector:** `ruleset` in {women, boys}; `men` is out of scope (undocumented). ## Formal rules ### Women's ruleset R1. Board: 4 rows x 8 pits, 2 seeds per pit at setup. R2. Sow: take all seeds from a non-empty own-side pit (2+ seeds), sow counter-clockwise. R3. Capture: if the final seed lands in a non-empty inner-row pit, and the opponent has seeds in the same column, capture those. [gap-fill: "same column" alignment is not formally specified beyond this description — implementers should treat it analogously to the front/back-row opposite-pit capture used in Bao (see Bao Zanzibari) pending a clearer source.] R4. Relay-sow continues when a capture is not available at the point sowing would otherwise end. R5. Win condition: a player loses when every own-side pit is empty or holds exactly 1 seed (no legal 2+-seed sow available). ### Boys' ruleset R6. Setup: each player's two corner pits start with 17 seeds; other pits follow an alternating empty/2-seed pattern. [gap-fill: exact pit-by-pit layout beyond "alternating" is not specified — implementers must choose a concrete layout and document it as an assumption.] R7. Overture phase: only the 7 left-hand columns are in play; the 8th (corner, 17-seed) column is inactive until a player individually chooses to activate it, ending their own overture. R8. Rightmost-column seeds can never be captured, at any point in the game. R9. [gap-fill: capture and win conditions for the boys' ruleset beyond R8 are not independently specified by the source; implementers should default to the women's ruleset's R3/R5 logic pending a clearer source, and flag this as an assumption.] ## Edge cases - **Tie at the end:** unaddressed in source; equal captured seed totals resolve as a draw. - **A player with no legal move:** in the women's variant, a player with no legal move triggers R5 terminal loss; in the boys' variant, unplayable state triggers R9's default win condition. - **Repetition / cycles:** relay-sowing can in principle cycle; implementers should impose a move cap as a safety bound. - **Simultaneous claims on one position:** not applicable — strictly sequential turns, each fully resolved before the opponent acts. - **Elimination mid-round and turn-order repair:** not applicable; two-player game with no player elimination; seeds transfer between sides. - **Resource exhaustion:** active seeds on the board deplete into captured banks upon terminal capture. - **Termination guarantee:** not formally proven for either variant — relay-sowing mancala games can in principle cycle; implement a move cap as a safety bound. ## State representation - `board`: array[2][2][8] of seed counts. - `ruleset`: enum {women, boys}. - `overture_active`: array[2] of boolean (boys' ruleset only, per R7). - `to_move`: player index. ## Action space - `sow(pit)` — sow all seeds from a legal own-side pit, subject to R7's column restriction when `ruleset == boys` and `overture_active` for that player. - `activate_overture_pit()` — boys' ruleset only: end a player's own overture (R7). ## Playability notes - Two independently playable rulesets sharing a board shape; do not merge them into one "combined" ruleset, since the source documents them as genuinely distinct games tied to who plays. - Deterministic, perfect-information — suited to minimax/MCTS once a ruleset is fixed. ## Implementation hints Implement the women's ruleset first (most fully specified). Treat the boys' ruleset's capture/win logic (R9) as an explicit placeholder inherited from the women's ruleset until a clearer primary source is found; do not present it as independently confirmed.

Download as JSON

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

Download JSON
Cite this page

Sukuma Four-Row Mancala (Tanzania). (n.d.). Games of Countries. https://gamesofcountries.com/games/tz-tanzania/isolo

@misc{gamesofcountries-tz-tanzania-isolo,
  title = {Sukuma Four-Row Mancala (Tanzania)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/tz-tanzania/isolo}
}