Tool from Mancala
Mancala move calculator
Type in the seeds from your board, pick whose turn it is, and see every legal move: where the last seed lands, whether you get another turn or a capture, and which move a look-ahead search likes best.
What the result means
Where the last seed lands. Seeds go one per pit, counter-clockwise, and the opponent's store is skipped. Where the last one ends decides everything else.
Extra turn. If the last seed drops in your own store, you move again. From the starting position, pit 3 does this: 4 seeds go into pits 4, 5, 6 and the store.
Capture. If the last seed lands in an empty pit on your side and the pit across the board holds seeds, you take the landing seed plus everything in the pit across into your store. If the pit across is empty, nothing is captured, the seed just stays.
Seeds moved. The number under the pit is how many seeds you pick up. 13 seeds go all the way round and land back in the pit you emptied, which counts as an empty pit.
Board after. Each row of the table shows the board after that move, bottom player's pits on the lower row, the stores at the ends.
Worked example: a capture
The bottom player is to move. Bottom pit 1 holds 2 seeds, bottom pit 3 is empty, and the top pit across from it holds 7. The bottom store has 1 and the top store has 2.
2 | 4 4 7 4 4 4 | | 2 4 0 4 4 4 | 1
Pit 1 sows 2 seeds into pits 2 and 3. The last seed lands in pit 3, which was empty, and the pit across holds 7: 1 landing seed + 7 across = 8 seeds into the store (1 + 8 = 9).
2 | 4 4 0 4 4 4 | | 0 5 0 4 4 4 | 9
Press "Load the worked example" above to try it, then change a number and watch the capture disappear.
The rules this calculator uses
- Standard Kalah: 6 pits a side, a store at each end, 4 seeds per pit at the start (48 seeds).
- Seeds sow counter-clockwise, including your own store, skipping the opponent's store.
- Last seed in your own store: move again.
- Last seed in an empty pit on your side, and the pit across has seeds: capture both. It does not use the "empty capture" variant where the capture happens even when the pit across is empty.
- The game ends when either side has no seeds. The setting above decides who gets the seeds still on the board: by default each player keeps the seeds on their own side. The other setting gives them all to the player whose side ran out. Rule sets differ on this, so match yours.
These are the same rules as the Mancala app by Seedwise. For the standard description of Kalah see Kalah on Wikipedia.
Why "best move" is a search, not a guarantee
The suggestion comes from an alpha-beta look-ahead. It tries every move, every reply, and so on, down to a fixed number of plies (an extra turn counts as one ply), then scores the board by the store lead. The page shows how many plies it reached. If it says it searched to the end of the game, the answer is exact for the rules you picked. Otherwise it is a good guess that can still be wrong: a move that looks fine at that depth can lose later.
The search is capped by the number of positions it looks at, not by time, so you get the same answer on every device, and it answers in a fraction of a second. A score of "+2 seeds" means the mover is two seeds ahead in the stores at the end of the search, not that the game will be won by two. "Wins by force" or "loses by force" means the search saw the whole game finish inside its depth.
Mistakes it catches
- Dropping a seed in the opponent's store. It is skipped, so a long move ends one pit further than you might count.
- Counting a capture that is not there. If the pit across is empty, no capture happens.
- Missing a free move. Any pit with exactly the right number of seeds to reach your store, or 13 more than that, gives another turn.
Classic Kalah Mancala against six computer rivals, with a new puzzle every day.
Get it on Google PlayFree, with an occasional full-screen ad after a game, never during play. Mancala Plus is a one-time purchase that removes full-screen ads and adds unlimited hints, a free second try at the daily puzzle, the full puzzle archive and a supporter board.