added win check in board_evaluator