Question: 1 Summary Develop a competitive AI for the game Mancala Demonstrate your understanding of the MiniMax search algorithm, alpha - beta pruning, and dynamic programming
Summary
Develop a competitive AI for the game Mancala
Demonstrate your understanding of the MiniMax search algorithm, alpha
beta pruning, and dynamic programming
We will be using Python so be sure you arent using older versions. Code
that will compile in Python may not compile in Python Please write
down your group No and teammates names.
Background
Mancala is a twoplayer, turnbased strategy game where the objective is to
collect the most pieces by the end of the game. To play a game, you need a
Mancala board, which is a board made up of two rows of six pockets, also
known as pits, and two stores located at the ends of these pits.
Rules
Each turn consists of a player picking up all the pieces in a pit and, moving
counterclockwise, depositing a stone in each pocket until the stones run
out. When moving your stones, if you pass your store then you deposit
one stone inside it as well, but you skip over your opponents store.
If the last piece you place goes into your store, you take another turn.
If the last piece you place is in an empty space on your side, and your
opponent has stones in the pit exactly opposite of this empty space then
you collect all the stones in your opponents opposite pit as well as your
last placed stone.
The game is over when all the stones on one side of the board are gone,
and when this happens the other player takes all the stones on their side
and puts them in their store.
Note that this rule differs slightly from the rules linked, which do not require your
opponent have stones in their pit to make an empty capture However, this is consistent
with the interactive website linked, and with how the game is most often played.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
