now checking for the opponent's winning moves