public void chooseTargetAI() {
                    CardList humanList = AllZoneUtil.getPlayerCardsInPlay(AllZone.getHumanPlayer());
                    CardList compList = AllZoneUtil.getPlayerCardsInPlay(AllZone.getComputerPlayer());

                    CardListFilter filter = new CardListFilter() {
                        public boolean addCard(Card c) {
                            return CardFactoryUtil.canTarget(card, c);
                        }
                    };

                    humanList = humanList.filter(filter);
                    compList = compList.filter(filter);

                    if (humanList.size() > 0) {
                        CardListUtil.sortCMC(humanList);
                        setTargetCard(humanList.get(0));
                    } else if (compList.size() > 0) {
                        CardListUtil.sortCMC(compList);
                        compList.reverse();
                        setTargetCard(compList.get(0));
                    }

                }