fixed the issue where minimax chose a block over a win