A Java Applet that plays the ancient African game of Mancala. It was done as a project and example for COS246 Java Programming (now renumbered as COS244) class (which it was assigned for their final exam).
Online Java Applet Version
The game of Mancala is an ancient Egyptian/African game played with 48 stones and a board with 14 bins, six on each side for each player, and one at either end called the Mancala. Each player’s Mancala is on their right, it is a storage bin for captured stones and is empty at the start of the game.
The game begins with the stones evenly distributed among the twelve playing bins (in a 48 stone game, 4 stones per bin.) The first player removes the stones from one of his or her bins and, moving counter clockwise, placing one stone in each bin until they have exhausted the stones picked up. While dropping stones, treat your own Mancala as a bin, but do not drop stones in your opponents. The goal is to accumulate the most stones in your own Mancala. Players then alternate turns until one player has no more stones to move. The player with the most stones at the end of the game wins.
Rules of Play
- You always choose a bin on your side and drop stones starting in the bin immediately counter clockwise (to the right) of the starting bin.
- You are not allowed to touch the stones when ‘counting’ them.
- If the last stone dropped lands in your Mancala, you get another turn.
- If the last stone is dropped into an empty bin, on your side of the board, you capture any of the opponent’s stones in the opposing bin. Place the opposing stones and the capturing stone in your Mancala.
- Play ends when either player has no more stones on their side of the board (not including their Mancala). The opposing player adds any remaining stones to their Mancala. The player with the most stones at the end of the game wins.
- Toy analysis of Mancala (gone)
- Mancala Web Home (defunct: imagiware.com/mancala)