public void resolve() {

                    CardList libList = AllZoneUtil.getPlayerCardsInLibrary(opponent);
                    int count = 0;
                    int broken = 0;
                    for (int i = 0; i < libList.size(); i = i + 4) {
                        Card c1 = null;
                        Card c2 = null;
                        Card c3 = null;
                        Card c4 = null;
                        if (i < libList.size()) c1 = libList.get(i);
                        else broken = 1;
                        if (i + 1 < libList.size()) c2 = libList.get(i + 1);
                        else broken = 1;
                        if (i + 2 < libList.size()) c3 = libList.get(i + 2);
                        else broken = 1;
                        if (i + 3 < libList.size()) c4 = libList.get(i + 3);
                        else broken = 1;
                        if (broken == 0) {
                            if ((c1.getName().contains(c2.getName()) || c1.getName().contains(c3.getName())
                                    || c1.getName().contains(c4.getName()) || c2.getName().contains(c3.getName())
                                    || c2.getName().contains(c4.getName()) || c3.getName().contains(c4.getName()))) {
                                count = count + 1;
                            } else {
                                broken = 1;
                            }
                        }

                    }
                    count = (count * 4) + 4;
                    int max = count;
                    if (libList.size() < count) max = libList.size();

                    for (int j = 0; j < max; j++) {
                        Card c = libList.get(j);
                        AllZone.getGameAction().exile(c);
                    }
                }