Mancala Examples

To clarify exactly how the Mancala rules work, here are a number of examples of how the game state changes.  For each example, an initial game state is displayed along with what pit will be moved by what player followed by the resulting game state.

Basic move.

Mancala state before:
    4  4  4  4  4  4  
0                     0
    4  4  4  4  4  4  

Player 0 moves pit #0
Mancala state after:
    4  4  4  4  4  4  
0                     0
    0  5  5  5  5  4  


==========================

Basic move - wraps around.

Mancala state before:
    4  4  4  4  4  4  
0                     0
    4  4  4  4  4  4  

Player 0 moves pit #4
Mancala state after:
    4  4  4  4  5  5  
0                     1
    4  4  4  4  0  5  


==========================

Basic move - wraps around from other side.

Mancala state before:
    4  4  4  4  4  4  
0                     0
    4  4  4  4  4  4  

Player 1 moves pit #11
Mancala state after:
    5  0  4  4  4  4  
1                     0
    5  5  4  4  4  4  


==========================

Move results in going again.

Mancala state before:
    4  4  4  4  4  4  
0                     0
    4  4  4  4  4  4  

Player 0 moves pit #2
Mancala state after:
    4  4  4  4  4  4  
0                     1
    4  4  0  5  5  5  

Player 0 goes again
Player 0 moves pit #1
Mancala state after:
    4  4  4  4  4  4  
0                     1
    4  0  1  6  6  6  


==========================

Nice setup enables multiple go-agains in one turn.
Note that the player could have done even better
had they chosen pit #2 for their last move instead of pit #4.

Mancala state before:
    4  4  4  4  4  4  
0                     0
    4  4  4  3  2  1  

Player 0 moves pit #5
Mancala state after:
    4  4  4  4  4  4  
0                     1
    4  4  4  3  2  0  

Player 0 goes again
Player 0 moves pit #4
Mancala state after:
    4  4  4  4  4  4  
0                     2
    4  4  4  3  0  1  

Player 0 goes again
Player 0 moves pit #5
Mancala state after:
    4  4  4  4  4  4  
0                     3
    4  4  4  3  0  0  

Player 0 goes again
Player 0 moves pit #3
Mancala state after:
    4  4  4  4  4  4  
0                     4
    4  4  4  0  1  1  

Player 0 goes again
Player 0 moves pit #5
Mancala state after:
    4  4  4  4  4  4  
0                     5
    4  4  4  0  1  0  

Player 0 goes again
Player 0 moves pit #4
Mancala state after:
    4  5  5  5  5  0  
0                     5
    4  4  4  0  0  1  


==========================

Drops last stone in empty pit.

Mancala state before:
    2  2  2  2  2  2  
0                     0
    2  2  2  0  2  2  

Player 0 moves pit #1
Mancala state after:
    2  3  3  0  2  2  
0                     0
    2  0  3  1  2  2  


==========================

Drops last stone in empty pit - resulting in long play which skips their mancala.

Mancala state before:
    2  2  2  8  2  2  
0                     0
    2  2  2  0  2  2  

Player 0 moves pit #1
Mancala state after:
    3  3  3  0  2  2  
0                     0
    3  1  4  2  3  2  


==========================

Drops last stone in empty pit on other side.

Mancala state before:
    4  4  4  0  4  4  
0                     0
    4  4  4  4  4  4  

Player 0 moves pit #5
Mancala state after:
    4  4  4  1  5  6  
0                     2
    4  4  4  0  5  1  


==========================

Wins game.

Mancala state before:
    0  0  0  2  2  0  
0                     0
    0  0  0  0  0  1  

Player 0 moves pit #5
Mancala state after:
    0  0  0  0  0  0  
0                     5
    0  0  0  0  0  0  

Game over!

==========================