Back to BlogGame Guides

How to Play Mancala: Rules, Best First Move and Who Wins

How to play Mancala: sowing, extra turns, captures and the end of the game, plus the best first move and whether going first helps. Free game included.

How to Play Mancala: Rules, Best First Move and Who Wins

Mancala is a two player board game where you pick up stones from a pit and drop them one at a time into the pits that follow. You try to get more stones into your store, the big pit at your end of the board, than the other player gets into theirs. A game takes about ten minutes, the rules fit on a postcard, and there is more thinking in it than it first looks.

We have our own free Mancala in Game Attic, our collection of free browser games, and this guide uses its rules for the examples. After the rules it answers the two questions people ask most: what is the best first move, and does going first help? We solved the 3 stone game exactly with our own program and played 8 million computer games with 3 and 4 stones per pit. You can play Mancala free in your browser while you read, against the computer or a friend.

The board

A Mancala board has two rows of six small pits and a big pit at each end, called the store. Each player owns the row of six pits nearest them and the store on their right. At the start every small pit gets the same number of stones: 4 in most boxed sets, 3 in a shorter game. That is 48 stones in all with 4 per pit.

A Mancala board with two rows of six pits, four stones in each pit and an empty store at each end, with an arrow showing that stones move counterclockwise

In this guide your pits are numbered 1 to 6 from your left, so pit 6 is the one next to your store.

The word mancala is the name of a whole family of these "sowing" games, played across Africa, the Middle East and Asia for hundreds of years, with names like Oware, Bao and Congkak. The rules below are Kalah, the version most boards sold in the US and Europe come with and the one most apps play.

How to play Mancala: the rules

  1. Sow. On your turn, pick up every stone in one of your own pits. Drop them one at a time into the next pits, moving counterclockwise: along your row to the right, into your store, then along the other player's row.
  2. Skip their store. If you go all the way round, you drop stones in your own store but never in the other player's store.
  3. Extra turn. If your last stone lands in your own store, you take another turn straight away. You can chain several extra turns in a row.
  4. Capture. If your last stone lands in an empty pit on your side, and the pit straight across has stones in it, you take your last stone and all the stones across. They go into your store.
  5. The end. The game ends as soon as one player's six pits are all empty. The other player puts every stone still on their side into their own store.
  6. The winner is the player with more stones in their store. With 48 stones, a 24 to 24 game is a draw.

Before and after a move from pit 3 with four stones: pits 4, 5 and 6 get one stone each and the last stone lands in the store, so the player goes again

The extra turn is easy to spot once you know the trick: a pit lands in your store when it holds exactly as many stones as it is pits away from the store. Pit 6 needs 1 stone, pit 5 needs 2, pit 4 needs 3, and pit 3 needs 4. That is why so many players open with pit 3 when there are 4 stones in each pit.

A capture: two stones from pit 1 end in the empty pit 3, across from a pit holding five stones, and all six go into the store

When one side is empty

This is the rule people argue about most at the table. In the rules above, the game ends the moment either row of six pits is empty, whoever's turn it is. The player who still has stones keeps them and adds them to their own store. Some family rules give those stones to the player who ran out, or let the game carry on. Game Attic, and most printed rules, use the first version.

It changes how you finish a game. If you are ahead, emptying your own row early ends the game while you are still ahead, but it hands every stone left on the other side to the other player. Count both before you do it.

The best first move

There are only six first moves, and a first move that lands in your store lets you move again, so a whole first turn has only 10 different ways to play out with either 3 or 4 stones per pit. That is small enough to look at every one, and the game itself is small enough for a computer to play perfectly.

We wrote a program that searches every possible game from the start position, the same way chess programs search, but to the very end. For the 3 stone game, which is Game Attic's Easy level, it finished in under a minute. The 4 stone game has far more positions, and our program did not finish it in the time we gave it. That one was solved in 2000 by researchers at Maastricht University (Geoffrey Irving, Jeroen Donkers and Jos Uiterwijk), who found that the first player can always win it.

Bar chart of the final score margin for the first player after each possible first pit, with perfect play afterwards, with 3 stones per pit

With 3 stones per pit, the first player wins by 2 stones if both sides play perfectly. The surprise is which first move does it. Pit 4 holds 3 stones, so it lands in your store for an extra turn, and the best follow-up captures four stones at once. It looks like the strongest start, but with perfect play after it you lose by 2. The winning first move is pit 5, the pit next to it. Pit 6 leads to a draw, and starting from pits 1, 2 or 3 loses by 10 to 16 stones.

With 4 stones per pit, pit 3 is the only first pit that lands in your store, and it is the start almost every guide recommends. We looked at every possible first turn: there are 10 of them, and the best ones put just 2 stones in your store before the other player moves (pit 3, then pit 4, 5 or 6). So the opening extra turn is a small gain. What decides the game is the many moves after it.

Does going first help?

Yes, and more as the players get better. We played one million games for each pairing of two simple computer players, with 3 and with 4 stones per pit.

Stacked bars showing how often the first player wins, draws or loses for random players and greedy players with 3 and 4 stones per pit, and the perfect play result

  • Two random players, each picking any pit: the first player wins 49% of games with 3 stones and 48% with 4, and loses 43% and 45%. The rest are draws. Going first is a small edge when nobody plans.
  • Two greedy players, each taking the move that puts the most stones in the store right now (Game Attic's Medium computer plays this way): the first player wins 54% with 3 stones and 58% with 4, and loses only 38% and 33%.
  • A greedy player against a random one wins 95% to 98% of games, from either side. Simply looking for extra turns and captures beats random play almost every time.
  • Perfect play: the first player always wins. In the 3 stone game our solver found a win by 2 stones, and the 4 stone game is a first player win too.

So if you are learning against someone at the same level, take turns going first. And if you are going second, you are not lost: against anyone short of perfect, the second player still wins about a third of games between two greedy players.

Tips for winning at Mancala

  1. Count before you sow. A pit lands in your store when its stones equal its distance from the store. Look for those pits first every turn.
  2. Play the pit nearest your store first. If pit 6 and pit 3 can both reach your store, play pit 6 first. Moving pit 3 first drops a stone into pit 6 and spoils it.
  3. Keep an empty pit ready. An empty pit on your side, across from a full pit on theirs, is a capture waiting to happen. Watch for the same trap on their side.
  4. Guard your big piles. A big pile across from an empty pit on their side can be captured. Move it, or sow a stone into their empty pit so it is no longer empty.
  5. Keep small piles near your store. Pits 5 and 6 need only 2 stones and 1 stone to reach your store. A huge pile far from your store spills most of its stones onto the other side.
  6. Count the end. When few stones are left, count what each side keeps if a row empties now.

Play Mancala free

This is the Mancala from Game Attic, the same game as on the full site. Choose Computer or A friend, pick who goes first and press Play. Then tap one of your pits. Your pits are the row with the coral rings, and your store is marked YOU. The stones are sown one at a time; tap the board to skip the animation. Easy starts with 3 stones per pit against a computer that picks pits at random. Medium uses 4 stones against the greedy computer from the tests above. Hard uses 4 stones against a computer that looks many moves ahead.

Loading the game…

For the full screen version, with streaks and records, play Mancala in Game Attic. It is free, with no download and no sign-up. Game Attic also has Dots and Boxes and dozens of other games.

Questions people ask

How do you play Mancala step by step?

Put 4 stones in each of the 12 small pits. On your turn, take all the stones from one of your six pits and drop one in each pit to the right, into your store, and on round the board, skipping the other player's store. Land in your store and you go again. Land in an empty pit on your side and you capture the stones across from it. When one side is empty, the game ends and the most stones in a store wins.

What happens when one side of the Mancala board is empty?

The game ends straight away. The player who still has stones on their side moves them into their own store, then both stores are counted.

What is the best first move in Mancala?

With 4 stones per pit, start with pit 3, the third pit from your left: its last stone lands in your store and you go again. With 3 stones per pit, our solver found that pit 5 wins and the extra turn from pit 4 loses by 2 with perfect play.

Is it better to go first or second in Mancala?

First. With perfect play the first player always wins the 3 and 4 stone games. Between two greedy computer players with 4 stones per pit, the first player won 58% of a million games and the second player 33%.

Do you skip your opponent's store in Mancala?

Yes. You drop a stone in your own store every time you pass it, but you skip the other player's store.

Can you capture from an empty pit?

Only if the pit across has stones in it. In Game Attic's rules a last stone in your empty pit with nothing across is just a stone in a pit, and your turn ends.

Is Mancala free to play online?

Yes. Mancala in Game Attic is free in your browser, against the computer or a friend on the same screen.

How we worked it out

The rules come from Game Attic's own Mancala (the Kalah rules above, including that a capture needs stones in the pit across and that each player keeps their own side at the end). Our solver is a search program written for this post: it tries every move to the end of the game, remembers positions it has already scored, and skips lines that cannot change the answer. It scores a position as the final difference between the two stores. The million-game tests use two simple players: "random" picks any of its pits, and "greedy" scores each move by the stones it adds to its store, plus a bonus for an extra turn, which is how Game Attic's Medium computer chooses. Every number above is from the program's output.

Mancala is a traditional game. Game Attic and its Mancala are made by Logic Loft Games and are not connected with any other Mancala app or boxed game.

By Tim Nye, Logic Loft Games

Share this post