Formal Specification
Pokomo Two-Row Mancala — Formal Specification
Kenya · board-abstract · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 2
# Mbothe (Mbothe) — AI-optimized specification
## General idea
A 2x10 mancala game distinguished by a rule that pits holding exactly 2 stones are
protected — they cannot be sown into by the opponent, and cannot start a sow unless
forced — making them de facto safe havens until captured via a precise opposite-pit
landing.
## Formal model
- **Abstraction taken:** none — discrete deterministic board game.
- **Player/agent count:** 2.
- **Turn model:** strictly alternating, with an extra-turn rule on capture (R5).
## Formal rules
R1. Board: 2 rows x 10 pits, 2 stones per pit at setup (40 total).
R2. Sow: take all stones from a non-empty own-side pit, relay-sow counter-clockwise one
per pit.
R3. Opening constraint: a pit with exactly 2 stones may not be chosen as a sow source
unless it is the only non-empty pit available, in which case the rightmost such pit must
be used.
R4. Skip rule: while sowing, any opponent pit containing exactly 2 stones is skipped —
no stone is dropped into it during that sow.
R5. Capture: if the final sown stone lands in an empty pit on the sower's own row, and
the pit directly opposite (on the opponent's row) holds exactly 2 stones, capture those
2 stones and take an extra turn.
R6. Replenishment obligation: if a player's entire row is empty, their opponent's next
move must be a sow that adds at least one stone to that empty row. [gap-fill: the source
does not specify what happens if no such move is legal — implementers should treat this
as an edge case requiring a fallback rule, e.g. forfeiting the replenishment requirement
or immediate terminal capture.]
R7. Win condition: when a player has no legal sow, the opponent captures all remaining
board stones; higher total captured stones wins.
## Edge cases
- **Tie at the end:** unaddressed in source; equal captured seed totals resolve as a draw.
- **A player with no legal move:** [gap-fill: no legal replenishing move under R6 is undocumented in source — see gap-fill above]; no legal move generally triggers R7 terminal capture.
- **Repetition / cycles:** the R4/R5 skip-and-protect mechanic can in principle stall progress; implementers should impose a move cap as a safety bound.
- **Simultaneous claims on one position:** alternating sowing turns preclude simultaneous claims on single pits.
- **Elimination mid-round and turn-order repair:** not applicable; no player elimination; 2-player alternation is invariant throughout.
- **Resource exhaustion:** seeds on the board deplete into captured banks upon terminal capture.
- **Termination guarantee:** not formally proven; the R4/R5 skip-and-protect mechanic can in principle stall progress — implement a move cap as a safety bound.
## State representation
- `board`: array[2][10] of stone counts.
- `to_move`: player index.
- `extra_turn_pending`: boolean, set by R5.
## Action space
- `sow(pit)` — sow all stones from a legal own-side pit per R2-R4.
## Playability notes
- Deterministic perfect-information game suited to minimax/MCTS.
- The 2-stone protection/skip mechanic (R3-R4) makes this tactically distinct from
ordinary mancala captures — worth flagging to any AI heuristic since naive "always
capture" heuristics don't apply until a target pit's count is exactly 2.
## Implementation hints
Implement R2 (basic sow) and R7 (terminal capture/scoring) first, then layer in the
2-stone skip (R4) and protected-start (R3) rules, testing each against the sources'
verbal description since no worked example transcript was available in this pass.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Pokomo Two-Row Mancala (Kenya). (n.d.). Games of Countries. https://gamesofcountries.com/games/ke-kenya/mbothe
@misc{gamesofcountries-ke-kenya-mbothe,
title = {Pokomo Two-Row Mancala (Kenya)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ke-kenya/mbothe}
}