filter out moves which make current player king to be under attack