determines whether a move/placement is legal for a given colour/side in an i,j coordinate on the board
color of the player whose turn it is; the i and j board coordinates which are virtually the X,Y position of the board at which the stone is to be put (progressing left to right, top to bottom); the board to be dealt with
boolean indicating is the placement is legal or not
calculates the current score for red and black
a function used to do all the Othello-wise reductions and substitutions in colours of the objects.
the coordinates of the last stone put, according to which the correct reductions can be carried out; the board to be dealt with
the new layout of the board
calculates mobility of both sides
checks if a deadlock has occurred in which case the game has reached an end or turn passed (if mobility of current side is 0)
called when the game has reached an end and declares the result
puts an ASCII representation of the board on the log file
the input board and the file pointer
closes the log file when a game is finished and displays the game score
adds the given game to a report file