This AI engine developed using CPP with minor QT library function which will be easily replaceable using standard CPP function.
This Engine takes complete Mancala board as input string in this format.
Format : pit-numberOfStone
Pits are arranged like that.
12 11 10 9 8 7
0 1 2 3 4 5
so the format is pit number - number of stone in that pit,
Every time send the current board in string format using initialize() function.
generateBestMove() function used to calculate the best move based in current position in the board.
findBestMove() returns the best pit position which will create most point for the AI player.