Formal Specification
Namibian Four-Row Mancala — Formal Specification
Namibia · board-abstract · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 3
# Owela — AI-optimized specification
> **Reconstructed source.** The entry carries a provenance warning: its rules were written from
> general knowledge, not read from the two ethnographic works it cites (Hahn et al. 1928; Salokoski 2006).
## General idea
The premier four-row mancala board game of the Ovambo people of northern Namibia (and southern Angola).
Played on a 4x8 grid (or expanded 4x10/4x12) scooped into earth or carved into hardwood logs, with 64 seeds
(2 per hole). Two players (or two consulting teams) command disjoint 2-row territories. Sowing requires lifting
an occupied pit with >= 2 seeds and executing continuous multi-lap relay sowing. Landing in an occupied inner
pit opposite occupied enemy pits captures all seeds in both the front and rear opponent holes.
## Formal model
- **Abstraction taken:** None. Discrete board geometry, deterministic relay sowing, perfect information.
- **Player/agent count:** 2 players (or 2 teams of 2 in consultative partnership).
- **Turn model:** Alternating sequential turns; each move triggers a multi-lap relay sowing sequence.
## Formal rules
R1. Setup (entry §1): a board of **4 rows of 8 holes** (32 holes total), 2 rows per player, initialized
with **2 seeds per hole** (64 seeds total).
R2. Sowing (entry §2): the active player lifts all seeds from an occupied hole on their side containing
**>= 2 seeds** and sows them 1 seed per hole in their private 16-hole loop
[gap-fill: the entry does not specify whether sowing direction is fixed clockwise/counter-clockwise or
chosen by the player].
R3. Relay sowing (entry §3): if the last seed lands in an occupied hole, all seeds are scooped up and sowing
continues in the same direction.
R4. Capture (entry §4): if the last seed lands in an occupied hole in the player's **INNER row**, AND the
opposite opponent inner hole contains seeds, the player captures all seeds from the opponent's **inner
and outer holes**.
R5. Win condition (entry §5): a player wins by **capturing all opposing seeds** or **immobilizing the opponent**
(leaving them with no holes containing >= 2 seeds).
R6. Disposition of captured seeds:
[gap-fill: the entry does not specify whether captured seeds are banked or re-sown into the captor's territory;
standard Southern African practice banks them].
R7. Team consultation:
[gap-fill: for 2v2 variants, consultation is non-mechanical and does not alter the formal 2-agent state space].
## Edge cases
- Tie at the end: unaddressed; the entry specifies only decisive victory conditions (clearing all opponent
seeds or immobilizing the opponent) and defines no draw or score-based tiebreak.
- A player with no legal move: explicitly addressed as a loss condition (R5: immobilization wins).
- Repetition / cycles: unaddressed; multi-lap relay sowing within 16-hole loops can repeat identical board
configurations indefinitely without formal cycle-breaking rules.
- Simultaneous claims on one position: not applicable; strictly sequential turns in private 16-hole loops.
- Elimination mid-round and turn-order repair: seeds are eliminated upon capture (R4), but players/teams
remain active; strict alternation is preserved.
- Resource exhaustion: active seeds deplete monotonically as captures remove them to player banks (under
standard banking interpretation).
- Termination guarantee: not guaranteed; because captures are not forced on every move and players may circulate
seeds without capturing, non-terminating loops cannot be ruled out.
## State representation
- Persistent state: `board[4][8]` ∈ {0..64}, `bank[2]` ∈ {0..64}, `active_player` ∈ {0, 1}.
- Per-turn ephemeral state: `current_hole`, `hand_seeds`, `sowing_dir`, `relay_steps`.
- Observable information: fully observable, perfect information.
## Action space
- `sow(hole_coord)`: active player selects a pit on their side with `seeds >= 2` to begin relay sowing (R2).
All subsequent laps and dual-row captures resolve deterministically (R3, R4).
## Playability notes
- Single-player-vs-AI: excellent combinatorial search space with deep tactical foresight required for
multi-lap cascade planning.
- Reducing n > 4 to 2 agents: direct; 2v2 team matches reduce losslessly to 1v1 play since consultation
is strategic rather than mechanical.
- Physical-skill games: not applicable; abstract board game.
- What is lost: the communal debate under Makalani palms, team consultations, and rhythmic wood hollow
resonance of Ovamboland play.
## Implementation hints
Model the board as two 16-hole arrays mapped to a 4x8 matrix. Implement R4 dual-row capture: when landing in
`own_inner[k] > 1` and `opp_inner[7-k] > 0`, seize `opp_inner[7-k]` and `opp_outer[7-k]`. Bank captured seeds
in `bank[active_player]` and check the immobilization win condition (opponent has 0 holes with seeds >= 2).
Add a ply limit or repetition check to guarantee engine termination. Suggested first milestone: 4x8 loop
relay simulation with dual-row capture and immobilization detection.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Namibian Four-Row Mancala (Namibia). (n.d.). Games of Countries. https://gamesofcountries.com/games/na-namibia/owela
@misc{gamesofcountries-na-namibia-owela,
title = {Namibian Four-Row Mancala (Namibia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/na-namibia/owela}
}