public int eventOnNoExplore(int noExploreCounter, int idealLeashLength, int randomNumber) throws ExploringControlException {

        double noExploreCounterD = (double) noExploreCounter;
        double minLeashLenght = 4;

        if (noExploreCounter < 0 || noExploreCounter > 10) {      // test for good leashlenght
            throw new ExploringControlException("*** Our appologies, something went wrong. ***"
                    + "\n*** ERROR in GameMenuView.java ***"
                    + "\nin       public int eventOnNoExplore(int noExploreCounter, int idealLeashLength, int randomNumber)"
                    + "\n if (noExploreCounter < 0 || noExploreCounter > 10)");
        }

        if (idealLeashLength < 4 || idealLeashLength > 15) {
            throw new ExploringControlException("*** Our appologies, something went wrong. ***"
                    + "\n*** ERROR in GameMenuView.java ***"
                    + "\nin       public int eventOnNoExplore(int noExploreCounter, int idealLeashLength, int randomNumber)"
                    + "\n if (idealLeashLength < 4 || idealLeashLength > 15)");
        }

        if (randomNumber < 4 || randomNumber > 19) {
            throw new ExploringControlException("*** Our appologies, something went wrong. ***"
                    + "\n*** ERROR in GameMenuView.java ***"
                    + "\nin       public int eventOnNoExplore(int noExploreCounter, int idealLeashLength, int randomNumber)"
                    + "\n if (randomNumber < 4 || randomNumber > 19)");
        }

        if (noExploreCounter == 0) {                             // test noExploreCounter not zero if zero add 1
            noExploreCounterD = 1.0;
        }

        double randomNumberD = randomNumber;          // cast int to double

        double fidoLeashOverlap = minLeashLenght + .1 * noExploreCounterD * randomNumberD;

        if (fidoLeashOverlap < idealLeashLength) {      // test for overlap
            return 0;
        }

        return 1;                                    // return 1 for yes overlap

    }