LOADS OF GAMES All rules

Strategy · Kalah

How to win at Mancala

There are no dice in Mancala. Every seed goes where you send it, so the player who counts further ahead usually wins. These are the habits that make the difference.

Play Mancala free

Before you start

These tips are for Kalah, the version most people know as Mancala, and the one Loads of Games sets up first. If you need the rules, read How to play Mancala first. The West African game Oware plays very differently: it has its own page, How to play Oware.

Count to your store

Everything starts with one sum. A pit ends in your store when it holds exactly as many seeds as it is away from the store. The pit next to your store needs 1 seed. The leftmost pit needs 6.

654321THEIR PITSYOUR PITS
The seeds each of your pits needs for its last seed to land in your store.

Big pits work too. A move that goes all the way round passes 13 places: your six pits, your store and your opponent's six pits (their store is skipped). So a pit with 13 more than its number also ends in your store: 14 in the pit next to it, 19 in the leftmost.

Before every move, look along your row for these pits. Then do the same for your opponent's row, from their side. Their free turns are your problem too.

The first move

At the start every pit holds the same number, so exactly one pit gives a free turn straight away.

Seeds a pitFree-turn pit
3Fourth from the left
4Third from the left
5Second from the left
6The leftmost

Play it, and you move again at once. In the perfect four-seed game published by Irving, Donkers and Uiterwijk, the first player does exactly this, then plays the rightmost pit, which now holds five seeds and starts putting seeds on the other side.

Chain free turns

When more than one pit would end in your store, play the one nearest the store first. A move from further left drops a seed into every pit it passes, and that spoils their counts.

65241321444444THEIR PITSYOUR PITS
Play the 1, then the 2, then the 1 it left, then the 3, then the 1 again: five turns in a row. Start with the 3 and you get just one.

Work it through. The 1 goes into the store. The 2 puts a seed in the last pit and one in the store, so the last pit holds 1 again. Each of those moves leaves the last pit holding 1 again, ready to go. Start from the 3 instead, and the 2 and the 1 become 3 and 2: neither fits any more.

Free turns also matter for what they don't do. A move that ends in your store puts nothing on your opponent's side.

Set up captures

A capture needs two things: an empty pit on your side, and seeds in the pit across from it. Look for an empty pit with a pile across, then for a pit of yours that can reach it with its last seed.

  • Empty a pit on purpose. Playing a pit leaves it empty. If the pit across from it is full, you have made a target for your next turn.
  • Use the 13-seed lap. A pit holding exactly 13 seeds goes all the way round and drops its last seed back into itself. The pit was empty, and the pit across has just been given a seed, so it is always a capture.
  • Make two threats. If two of your moves could each capture, your opponent can usually stop only one.

Defend your piles

Turn the same questions round. Which of their pits are empty? What is across from each one? Can any of their pits land there with its last seed?

  • Fill the hole. Sow a seed into their empty pit. Once it holds a seed, landing there captures nothing.
  • Move the pile. Playing the threatened pit saves it, but a big pile spills seeds onto their side. Count what you give away.
  • Spoil their count. A seed dropped into the pit they would capture with changes where its last seed lands.

Hoard on the right

It often pays to let seeds build up in your rightmost pits. There are good reasons.

  • It is the hardest pit to capture. Your rightmost pit faces the pit furthest from your opponent's store. From their own row, they can only land there by going all the way round the board, which takes 8 to 13 seeds in the right pit.
  • Seeds left on your side are yours. When one side runs out, the other player keeps every seed still on their side. A big pile you never have to play counts in full at the end.
  • Small moves keep seeds home. While you have short moves that stay on your side, your opponent has to keep sowing. Their seeds run onto your side, and their row runs dry.

The risk is being forced to play the pile. Keep a few small moves in reserve so that you choose when it goes.

Count the endgame

Once your store holds more than half the seeds, you have won, whatever happens next.

Seeds a pitIn playWins for certain
33619
44825
56031
67237

Near the end, add your store to the seeds on your side, and do the same for your opponent. That is roughly what each of you will finish with.

  • Ahead? Run your opponent's side dry. When their pits are empty, the game ends and your side is yours.
  • Behind? Don't empty your own side. The game ends on whichever side empties first, and if it is yours, your opponent keeps everything on theirs.

Going first

Computers have worked out Kalah exactly. In 2000, Geoffrey Irving, Jeroen Donkers and Jos Uiterwijk solved it with six pits and up to five seeds a pit. With perfect play, the first player wins: by 2 seeds with three a pit, 10 with four and 12 with five. In 2011 Anders Carstensen showed the first player also wins with six seeds a pit.

One detail: Irving and his colleagues let a last seed in an empty pit capture even when the pit across is empty. On Loads of Games, nothing is captured then: the last seed just stays in the pit. Carstensen checked his six-seed result under both rules, so the first player wins either way. The exact margins with fewer seeds may differ under this site's rule.

No one plays perfectly, so going second is no reason to lose. But it is worth taking turns at going first with a friend.

The fastest way to improve is to practice. Play the computer at its four levels in Mancala, starting easy, and count every move before you make it.

Questions

Is there a trick to always win at Mancala?

Not against a good player. Computers know perfect play, but it is far too long to learn by heart. The habits on this page, counting free turns, guarding empty pits and counting the endgame, win most games between people.

What is the best first move in Mancala?

With four seeds a pit, play the third pit from the left. Its last seed lands in your store, so you move again. With three seeds use the fourth pit, with five the second, and with six the leftmost.

Does the first player have an advantage in Mancala?

Yes. Kalah has been solved with six pits and three to six seeds a pit, and in every case the first player wins with perfect play. The three- to five-seed results were worked out with a slightly different capture rule.

Is Mancala luck or skill?

Skill. There are no dice and nothing is hidden. Every result follows from the moves both players chose.

Count first, then sow.

Play Mancala

Sources

  1. Geoffrey Irving, Jeroen Donkers and Jos Uiterwijk, "Solving Kalah", ICGA Journal, September 2000, pp. 139–146. naml.us/~irving/papers/irving2000_kalah.pdf
  2. Anders Carstensen, "Solving (6,6)-Kalaha", University of Southern Denmark, 2011. kalaha.krus.dk
  3. "Kalah", Wikipedia. en.wikipedia.org/wiki/Kalah

More games to learn