View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 2.36 KB File ID: #36925 Version: 1.0
image thumbnail




Mancala is an ancient family of board games, also known as Kalah.

| Watch this File

File Information

The Mancala 'board' is made up of two rows of six holes, or pits, each. If you don't have a Mancala board handy, an empty egg carton is perfect.
Three pieces -- marbles or stones -- are placed in each of the 12 holes. The color of the pieces is irrelevant.
Each player has a 'store' to the right side of the Mancala board. Cereal bowls work well. for this purpose.
The game begins with one player picking up all of the pieces in any one of the holes on his side.
Moving counter-clockwise, the player deposits one of the stones in each hole until the stones run out.
If you run into your own store, deposit one piece in it. If you run into your opponent's store, skip it.
If the last piece you drop is in your own store, you get a free turn.
If the last piece you drop is in an empty hole on your side, you capture that piece and any pieces in the hole directly opposite.
Always place all captured pieces in your store.
The game ends when all six spaces on one side of the Mancala board are empty.
The player who still has pieces on his side of the board when the game ends captures all of those pieces.
Count all the pieces in each store. The winner is the player with the most pieces.
Planning ahead is essential to victory in board games like Mancala. Try to plan two or three moves into the future.

Rules and tips from :

MATLAB release MATLAB 7.12 (R2011a)
Other requirements Mind to play
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
28 Jul 2012 Suleman Shafqat

thanks Braden.... you made my day by this comment.... :)

Comment only
30 Jun 2012 Braden

Braden (view profile)

Very efficient coding. Thanks for writing this!

Contact us