Make use of the defined var typeOfMove in board.c