makes the Nth best move for color given N
the board that is dealt with, the color for which the move is carried out and the priority n where 1 is best choice
the board after the move was carried out
gets the number of moves available
the board that is dealt with and the color for which the number is calculated
the number of moves available
calculate the value of the complete straight lines on the given board
the board that is dealt with and the color for which the value is calculated
the value of the lines
calculate the value of the complete diagonal lines on the given board
the board that is dealt with and the color for which the value is calculated
the value of the lines
calculate the value of the incomplete straight lines on the given board
the board that is dealt with and the color for which the value is calculated
the value of the lines
calculate the value of the incomplete diagonal lines on the given board
the board that is dealt with and the color for which the value is calculated
the value of the lines
calculates the value of the line occupancy for color gap in a given board
the board that is dealt with and the color for which the value is calculated
the value required
calculates the mobility value gap in a given board
the board that is dealt with and the color for which the advantage is calculated
the mobility gap in board (positive if color's mobility is higher)
calculates the score gap in a board
the board that is dealt with and the color for which the advantage is calculated
the score gap in board (positive if color's score is higher)
finds the value of position i,j standing for A-H and 1-8.
the board coordinates ranging from 1-8 and the current color for randomisation reasons
the value of the position inquired
evaluates the current position of the board from the point of view of color and assumes that color is currently up
the color for which the evaluation is carried out and the state of the board
the evaluation value
computes a complex move for a given colour
the colour of player whose turn it is, input board
the board with the new stone put
returns a random integer between 0 and N
returns 0 or 1 randomly
load an opening library of Othello Master from a file given a filename
filename is a pointer to the characters of the file to open
true if save operation was successful, false otherwise
initialises the opening hashtable library
assigns the distinct identifier to a board state
makes a move on behalf of color using the CPU