Select legal moves from available moves