private void respond() {
        int way = isRisky();
        if (isWinning() >= 0) {
            System.out.println("is winning");
            attack();
        } else {
            if (way == -1) {
                System.out.println("isnot winning");
                attack();
            } else {
                System.out.println(way + "is risky");
                block(way);

            }

        }

    }