Update selectCardAI() to remove setPhase() call and return boolean