deltete invalid moves and pick random moves