Please see Project_Specifications for further understanding.
-
compile.sh , is a script file which on running gives a game
-
The code takes in the input format as given.
-
The program first generates all the legal moves possible and stores it in a structure.
-
Then , each move is passed into an evaluation function.
-
The evaluation function calculates the heuristic value and returns its value. and we need to try to make a move which has higher heuristic value.
-
The evaluation function is calculated based on the pairs formation , killing of the opponents checkers , and also formation of single checker configuration, bearing off.