Each player has 7 containers: 6 normal bins and a mancala.
At the start of the game each of the normal bins contains 4 pebbles and
the mancalas are empty.
A move consists of taking all the pebbles from one of your
normal bins and placing one of them in each of the bins to counter-clockwise
around the board including your mancala but skipping over your opponent's
mancala.
If the last pebble dropped is dropped in your mancala, you
get to move again.
If the last pebble dropped is dropped in one of your
normal bins and that bin contains only that pebble, then all pebbles
from both that last bin and the bin directly opposite are moved into your
mancala.
The game ends when either player's normal bins are all empty.
Any pebbles remaining in the other player's normal bins are added to his
mancala. The winner is the player with the most pebbles.
Playing the game:
Clicking in Player B's mancala starts a new game. (alternates
first move between A and B)
Clicking in a normal bin plays the pebbles in that bin if
there are any and if it's that player's turn.
Clicking in Player A's mancala causes the computer to play
the next move (for either player).