Separated getBoardScore for min/max levels