claims the remaining seeds for their storeand the winner is the one with the most seeds more information about mancala and its variants can be found at the program in action when you run mancala pythe output will look like thismancalaby al sweigart al@inventwithpython com --snip-+++--<<<<<-player ----+++ | | | | | | ++++++ | | | | | | ++++-player ->>++player choose movea- (or quitf +++--<<<<<-player ----+++ | | | | | | ++++++ | | | | | | ++++-player ->>++player choose moveg- (or quit--snip-how it works mancala uses ascii art to display the board notice that each pocket needs to have not only the number of seeds in it but label as well to avoid confusionthe labels use the letters through so they won' be mistaken for the number of seeds in each pocket the dictionaries next_pit and opposite_pit map the letter of one pocket to the letter of the pit next to or opposite itrespectively this lets the expression next_pit[' 'evaluate to 'band the expression opposite_pit[' 'evaluate to 'gpay attention to how the code uses these dictionaries without themour mancala program would require long series of if and elif statements to carry out the same game steps mancala