private String displayLine(Board b, int iLevel, boolean isBlackSide) {
        int i;                          // loop counter
        boolean bDisplayDot = false;    // display dots on the line
        String s = "|";                 // string to represent the line

        if (iLevel < 6) {
            bDisplayDot = true;
        }

        if (isBlackSide) {      // 1 indexed positions
            for (i = 13; i <= 18; i++) {        // outer board
                s += displayChecker(b, i, iLevel, bDisplayDot);
            }

            s += " | ";

            if (b.getPips().get(25).getNumCheckers(Player.PLAYER_0) >= iLevel) {
                s += "B|";
            } else {
                s += " |";
            }

            for (i = 19; i <= 24; i++) {        // inner board
                s += displayChecker(b, i, iLevel, bDisplayDot);
            }

        } else {            // display whites side of the board
            for (i = 12; i >= 7; i--) {     // outer board
                s += displayChecker(b, i, iLevel, bDisplayDot);
            }

            s += " | ";
            if (b.getPips().get(25).getNumCheckers(Player.PLAYER_1) >= iLevel) {
                s += "W|";
            } else {
                s += " |";
            }

            for (i = 6; i >= 1; i--) {      // inner board
                s += displayChecker(b, i, iLevel, bDisplayDot);
            }
        }
        return s + "  |\n";
    }