Mancala

Kalah rules · 4 seeds · Medium computer

You0
Draws0
Computer0

Your move: pick one of your pits.

Your six pits are along the bottom, numbered 1 to 6 from the left, and your store is on the right. Tap or click a pit to sow its seeds; the keys 1 to 6 do the same. With the board focused, the arrow keys move between pits (up and down switch rows) and Enter or Space sows. U undoes, H gives a hint and N starts a new game.

Options

Seeds per pit

Changing the seeds or the capture rule starts a new game.

Who moves first

Sowing speed

Your record against the computer

LevelWonDrawnLostBest

Best is your biggest winning margin in seeds. Kept in this browser only; restarted games aren't counted.

Play Mancala online, free

Mancala is the ancient counting game of sowing seeds around a board of pits and capturing your opponent's. This free online Mancala uses Kalah rules, the version most people in North America grew up with, and plays in your browser against the computer at four levels or against a friend on the same phone, tablet or computer. Every move is animated seed by seed, captures and extra turns are explained as they happen, and you can take moves back, ask for a hint and choose 3 to 6 seeds per pit. There is nothing to install and no account, and everything runs on your device.

How to play Mancala

  1. The board. Your six pits are along the bottom, and your store, the big pit, is on your right. Your opponent's pits are along the top, with their store on the left. Every pit starts with four seeds.
  2. Sow. Tap one of your pits. Its seeds are picked up and dropped one at a time into the following pits, counter-clockwise: along your row to the right, into your store, then along your opponent's row. Your opponent's store is skipped.
  3. Extra turn. If your last seed lands in your store, you move again.
  4. Capture. If your last seed lands in an empty pit on your side, you take it and all the seeds in the pit directly opposite, as long as that pit has any.
  5. The end. When either row is empty, the game ends and each player adds the seeds left on their side to their own store. The bigger store wins.

The first move alternates between you and the computer, or between two players, so neither side keeps the first player's advantage. Undo takes back your last move together with the computer's reply, and Hint shows the pit the computer would choose for you and what it does. With a keyboard, the keys 1 to 6 sow your pits from left to right, or Tab to the board, move with the arrow keys (up and down switch rows) and press Enter; U undoes, H asks for a hint and N starts a new game.

Mancala rules in detail

  • Seeds per pit: four is standard (48 seeds in all). Three makes a quicker game; five or six a longer one with bigger captures.
  • Long sowings: a pit with 13 or more seeds goes all the way round, and the pit you started from gets a seed too.
  • Captures: only from your own side, and only when the landing pit was empty. Under the standard rule nothing happens if the opposite pit is empty; with Empty capture switched on, you still bank your last seed.
  • Game end: under Kalah rules the game ends the moment either side has no seeds in its pits, even mid-turn, and the other side's remaining seeds go to their owner.
  • Draws: equal stores make a draw.

The four computer levels

LevelWhat to expect
EasyLooks at its own move only, with plenty of guesswork, and sometimes plays any pit.
MediumLooks three moves ahead, counting extra turns and captures.
HardSearches seven moves ahead with alpha-beta pruning. Rarely misses a capture or an extra turn.
ExpertSearches as deep as it can in about a second, often 14 moves or more, and plays the endgame exactly.

The computer uses minimax, the classic method for two-player games: it tries each of its moves, each of your replies and so on, assumes both sides play their best, and skips lines that can't change the outcome (alpha-beta pruning). An extra turn simply keeps the same player to move in the search. Positions it can't search to the end are judged by the difference between the stores, with a little credit for seeds still on each side; finished games are scored exactly. It runs in a background thread on your device.

Mancala strategy

Count for extra turns

A pit lands in your store when its seed count equals its distance from the store: one seed in the pit next to the store, two in the next, and so on up to six in your leftmost pit. With four seeds each at the start, your third pit from the left lands exactly in your store. Take extra turns from the pits nearest your store first, so the ones further away still line up.

A worked example

At the start, sow your third pit: its four seeds go into your fourth, fifth and sixth pits and your store, so you move again. Now your sixth pit holds five seeds; sowing it banks one more seed but drops the other four into your opponent's pits. Your second pit's four seeds, by contrast, stay on your side and end in your sixth pit, so your opponent gets nothing new to work with. Small choices like that add up, and Hint shows what the computer would play in any position.

Set up and watch for captures

An empty pit on your side is a capture waiting to happen if you can land a last seed in it while the opposite pit is full. Look at your opponent's empty pits the same way, and don't leave a big pile directly opposite one they can reach.

Think about the end

Seeds on your side at the end are yours, so building up the pits near your store late in the game can pay, as long as they're safe from capture. Sometimes the best move is the one that empties your own side and ends the game while you're ahead.

Common mistakes

  • Playing a far pit first and spoiling the count of an extra-turn pit.
  • Sowing a big pile that feeds your opponent's empty pits.
  • Forgetting that a capture needs the landing pit to be empty before your last seed arrives.
  • Ignoring the opponent's next capture while chasing your own.

Mancala and Kalah: a little history

Mancala is not one game but a family of count-and-capture games, from Oware in West Africa and Bao in East Africa to Congkak in Southeast Asia and Pallanguzhi in South India. The name comes from the Arabic root naqala, to move, and more than 800 traditional mancala games have been recorded. The earliest undisputed boards, pottery and rock cuttings found in a Roman-era bathhouse at Gedera in present-day Israel, date from the 2nd or 3rd century AD. Kalah, with six pits a side and a store at each end, was patented and sold in the United States by William Julius Champion Jr. in the mid-20th century and is now the most popular mancala in the Western world. Computer searches have shown that with perfect play the first player wins Kalah with four, five or six seeds per pit.

More games like Mancala

If you like counting moves ahead, try Dots and Boxes, where closing a box also earns another turn, or Gomoku (five in a row). For more classic board games against the computer, play checkers, Reversi, Connect Four or chess.

Frequently Asked Questions

How do you play Mancala?

Each player has six pits on their side of the board and a store (the big pit) on their right. On your turn, pick up all the seeds in one of your pits and drop them one by one into the following pits, counter-clockwise, including your own store but skipping your opponent's. Land your last seed in your store and you go again; land it in an empty pit on your side and you capture. The game ends when one side runs out of seeds, and the player with more seeds in their store wins.

How many stones go in each pit in Mancala?

Four is standard in Kalah, the version most people know as Mancala, so 48 seeds in all. Three makes a shorter, simpler game, and five or six a longer one with more captures. You can choose 3 to 6 seeds per pit in Options.

Do you get another turn if you land in your store?

Yes. When the last seed you sow drops into your own store, you take another turn straight away, and you can chain several extra turns together. Counting exactly how many seeds reach your store from each pit is the most important skill in the game.

How do you capture in Mancala?

If the last seed you sow lands in an empty pit on your own side, and the pit directly opposite holds seeds, you take that last seed and every seed opposite and put them all in your store. In the empty-capture variant you take your last seed even when the opposite pit is empty; it's an option here.

Do you put seeds in your opponent's store?

No. When you sow you skip your opponent's store, though you do drop seeds into their pits as you go round. Only your own store collects seeds on your turn.

What happens when one side is empty in Mancala?

Under Kalah rules the game ends as soon as either player has no seeds left in their six pits. The other player then moves all the seeds still on their side into their own store, and the stores are counted. Running out of seeds therefore hands your opponent everything left on their side.

Who goes first in Mancala, and does it matter?

It matters: with perfect play the first player wins Kalah with four, five or six seeds per pit, as computer searches have proved. To keep things fair, the first move alternates between you and the computer, or between two players, by default. You can change that in Options.

What is the best strategy for Mancala?

Look for pits that land exactly in your store for an extra turn, and play the one nearest your store first so the others still line up. Keep an eye on empty pits on both sides: they set up captures. Hoard seeds in the pit next to your store late in the game, and avoid leaving a big pile opposite an empty pit your opponent can reach.

What is the difference between Mancala and Kalah?

Mancala is the name of a whole family of count-and-capture games played around the world for centuries, such as Oware, Bao and Congkak. Kalah is one modern member of that family, with six pits a side and stores, and it's the version sold in North America simply as Mancala. This game uses Kalah rules.

How old is Mancala?

Very old. The earliest undisputed mancala boards are pottery and rock cuttings from a Roman-era bathhouse in Gedera, in what is now Israel, dated to the 2nd or 3rd century AD, and some researchers point to far older carved boards in Jordan. More than 800 names of traditional mancala games are known.

Can you beat the computer at Mancala?

Yes. Easy looks at a single move and is beatable with a little care, Medium three moves ahead. Hard searches seven moves deep and Expert as deep as it can in about a second, which is a real challenge. Going first helps, and Hint shows the move the computer would pick for you.

Are my games and record saved?

Yes, in this browser only. Your settings, the game in progress and your record against each level are kept in local storage on your device, so a reload or a visit to another page doesn't lose them. Nothing is uploaded, and Reset record in Options clears the statistics.

More games to play

Free, browser-based, and instant — no installs or accounts.

More strategy & party games

Popular games