Master the ancient seed-sowing strategy game
Mancala is one of the oldest known board games in the world, with origins dating back thousands of years across Africa and Asia. Archaeological evidence suggests versions of the game were played as early as the 6th century, making it one of humanity's most enduring pastimes. The name "mancala" comes from the Arabic word naqala, meaning "to move."
The game is played on a board with two rows of six small pits and a large store (called a mancala) at each end. Players take turns picking up seeds and distributing them around the board, aiming to collect as many as possible. PlayVersusAI uses Kalah rules — the most popular Western variant — making it easy to learn yet deeply strategic.
The board begins with 4 seeds in each of the 12 pits (48 seeds total). On PlayVersusAI, you play the bottom row and your store is on the right side.
On your turn, pick up all the seeds from one of your six pits. Moving counter-clockwise, drop one seed into each subsequent pit — including your own store — but skip the opponent's store. Continue around the board until all seeds are placed.
If the last seed you drop lands in your own store, you earn another turn immediately. Chaining multiple extra turns in a row is one of the most powerful tactics in the game.
If the last seed you drop lands in an empty pit on your side of the board, you capture that seed along with all seeds in the directly opposite pit on the opponent's side. Both groups are placed into your store.
The game ends when one player's six pits are all empty. The opposing player collects all remaining seeds on their side into their store. The player with the most seeds in their store wins. If both players have 24 seeds, the game is a draw.
The extra turn rule is the most powerful mechanic in Mancala. In the early game, look for pits where the seed count will land exactly in your store. Chaining two or three extra turns in a row gives you a massive tempo advantage and lets you set up the board while your opponent waits.
Strategically empty pits on your side to create capture traps. When the opponent builds up a large pile across from your empty pit, a well-timed move can swing the game in your favor. The best captures come from patient setup — leave a pit empty and funnel seeds toward it.
In the late game, count seeds carefully. Sometimes it's better to feed seeds to the opponent's side to keep the game going — especially when you're ahead and can collect more through extra turns. Avoid leaving too many seeds on your side, as they become vulnerable to captures or get swept into the opponent's store when the game ends.
Your rightmost pit (pit 6, closest to your store) always grants an extra turn when it contains exactly 1 seed, since that seed drops directly into your store. Keep this in mind as a free turn whenever it's available.
The Mancala AI on PlayVersusAI uses the minimax algorithm with alpha-beta pruning — the same family of algorithms used in competitive chess engines. The AI evaluates every possible sequence of moves up to a certain depth, then picks the path that maximizes its advantage while minimizing yours.
Position evaluation considers several factors: the difference in store seed counts, potential capture opportunities, extra turn chains, and control of the board. At higher difficulty levels, the AI uses iterative deepening with a 2-second time limit, allowing it to search as deep as possible within that window for near-perfect play.
Choose a difficulty that matches your skill level. Each level adjusts how far ahead the AI looks and how often it makes suboptimal moves.
Looks 2 moves ahead with a 25% chance of playing a random move. Great for learning the basics.
Looks 5 moves ahead with an 8% random rate. A solid challenge for intermediate players.
Searches 10 levels deep with perfect play. Punishes mistakes ruthlessly — only for the skilled.
Iterative deepening with a 2-second time limit. Explores as deep as possible for near-optimal play.
Passing up a free turn is almost always wrong. Extra turns let you act twice while your opponent watches — the tempo swing is enormous.
Piling seeds into one pit while the opposite pit is empty invites a devastating capture. Spread your seeds and stay aware of threats.
Moving impulsively without counting often sends seeds past your store or into the opponent's strong pits. Always trace the path first.
Playing too aggressively can clear your side, ending the game prematurely and handing remaining seeds to your opponent's store.
Put your strategy to the test against our AI — from beginner-friendly to brutally competitive.
Play Mancala Now