Bao
Play Bao, the four-row sowing game of the Swahili coast: Bao la Kiswahili with namua and nyumba, or the learners' game. Vs computer or a friend.
How to play
- The board has four rows of eight pits. You own the two rows on your side: the front row faces your opponent’s front row, and the back row is behind it. Seeds always move round your own 16 pits, clockwise or anticlockwise. The end pits of the front row are the kichwa; the two pits at each end are the kimbi.
- Bao la Kiswahili starts with 6 seeds in your nyumba (the square pit, fifth from your left), 2 seeds in each of the next two pits, and 22 seeds in your hand.
- Namua stage (while you hold seeds): put one seed from your hand into an occupied pit of your front row. If that pit faces an occupied enemy pit, you capture: you must capture when you can.
- Capture: take all the seeds in the facing enemy pit and sow them into your own pits, one per pit, starting in a kichwa and moving inward. A capture in a kimbi starts from the nearest kichwa. Otherwise you choose the kichwa on your first capture; later captures in the same turn keep the direction.
- Without a capture (takata), take all the seeds from the pit where you put your seed and sow them, starting in the next pit, in either direction.
- Sowing on: if the last seed falls into an occupied pit, it may capture (in a capturing turn, a front pit facing enemy seeds). If not, pick up all the seeds there and keep sowing in the same direction. The turn ends when the last seed falls into an empty pit.
- Mtaji stage (hands empty; Bao la kujifunza starts here, with 2 seeds in every pit): take all the seeds from one of your pits with at least 2 seeds and sow them either way. If the last seed lands in an occupied front pit facing enemy seeds, you capture. You must capture if any move can. Otherwise, start from your front row if you can. A pit of 16 or more seeds never captures on that turn.
- The nyumba (full game only, while it is still special): a non-capturing sowing that ends there stops. A capturing turn that ends there may stop or go on (safari). In the namua stage you may only empty it when no other front pit has seeds, and then you take just 2 seeds (the tax). It stops being special once its seeds are sown or captured.
- You lose if your front row is empty or you cannot move. Our page rules: no blocking rule (kutakatia), and after 400 moves the player with more seeds wins.
Keyboard and touch
| Tap one of your pits | Play it; if there is a choice (direction, kichwa, safari), buttons appear under the board |
| Tab and Enter | Move between pits and buttons, and choose |
Tips
- Count before you sow. A long sowing that keeps landing in occupied pits can capture several times in one turn.
- Empty front pits facing your opponent’s full pits are safe; occupied ones facing occupied enemy pits are targets.
- Your nyumba is a store of seeds in the namua stage. Keep it special until you can use it for a big capturing turn.
- Try Bao la kujifunza first: the same captures and sowing, without the namua stage and the nyumba rules.
About this game
Bao is played along the Swahili coast of East Africa, in Zanzibar, Tanzania and Kenya, and is one of the most complex sowing games in the world. Bao la Kiswahili is the full game played in clubs and tournaments; Bao la kujifunza is the simpler game used for learning. Rules vary between places; this page follows commonly described rules and states its page rules.
The computer looks 1, 4 or 7 turns ahead with alpha-beta search and counts seeds, giving front-row seeds a little extra weight.
The tests replay random games and check every list of legal moves and every whole turn (captures, kichwa and direction, sowing on, the nyumba and the tax) against a separately written Python version that works on the board as four rows of eight.