public void initializeBoard() {

        gameArray = new PlayableSquare[60];
        for (int i = 0; i < 60; i++) { gameArray[i] = new PlayableSquare(Integer.toString(i)); }
        redHomeArray = new PlayableSquare[6];
        greenHomeArray = new PlayableSquare[6];
        blueHomeArray = new PlayableSquare[6];
        yellowHomeArray = new PlayableSquare[6];

        greenStart = new PlayableSquare("gstart");
        redStart = new PlayableSquare("rstart");
        blueStart = new PlayableSquare("bstart");
        yellowStart = new PlayableSquare("ystart");

        startArrays = new PlayableSquare[]{greenStart, redStart, blueStart, yellowStart};

        greenStart.setToStart("green");
        redStart.setToStart("red");
        blueStart.setToStart("blue");
        yellowStart.setToStart("yellow");

        greenStartPosition = 4;
        redStartPosition = 19;
        blueStartPosition = 34;
        yellowStartPosition = 49;

        greenHomePosition = 2;
        redHomePosition = 17;
        blueHomePosition = 32;
        yellowHomePosition = 47;

        greenSafetyIndex = 60;
        redSafetyIndex = 66;
        blueSafetyIndex = 72;
        yellowSafetyIndex = 78;

        for (int i = 0; i < 6; i++) {
            greenHomeArray[i] = new PlayableSquare(Integer.toString(i + greenSafetyIndex));
            greenHomeArray[i].setToSafetyZone("green");
            redHomeArray[i] = new PlayableSquare(Integer.toString(i + redSafetyIndex));
            redHomeArray[i].setToSafetyZone("red");
            blueHomeArray[i] = new PlayableSquare(Integer.toString(i + blueSafetyIndex));
            blueHomeArray[i].setToSafetyZone("blue");
            yellowHomeArray[i] = new PlayableSquare(Integer.toString(i + yellowSafetyIndex));
            yellowHomeArray[i].setToSafetyZone("yellow");
        }

        greenHomeArray[5].setToHome("green");
        redHomeArray[5].setToHome("red");
        blueHomeArray[5].setToHome("blue");
        yellowHomeArray[5].setToHome("yellow");

        setToSlider(gameArray, "green", 4, 1);
        setToSlider(gameArray, "green", 5, 9);
        setToSlider(gameArray, "red", 4, 16);
        setToSlider(gameArray, "red", 5, 24);
        setToSlider(gameArray, "blue", 4, 31);
        setToSlider(gameArray, "blue", 5, 39);
        setToSlider(gameArray, "yellow", 4, 46);
        setToSlider(gameArray, "yellow", 5, 54);

        greenPawn = new Pawn[4];
        redPawn = new Pawn[4];
        bluePawn = new Pawn[4];
        yellowPawn = new Pawn[4];

        for (int i = 0; i < 4; i++) {
            greenPawn[i] = new Pawn("green", "gstart", i, -1, startArrays[0], startArrays, greenHomeArray);
            redPawn[i] = new Pawn("red", "rstart", i, -1, startArrays[1], startArrays, redHomeArray);
            bluePawn[i] = new Pawn("blue", "bstart", i, -1, startArrays[2], startArrays, blueHomeArray);
            yellowPawn[i] = new Pawn("yellow", "ystart", i, -1, startArrays[3], startArrays, yellowHomeArray);
        }

        for (PlayableSquare square : startArrays) {
            square.setNumOccupants(4);
            square.setOccupied(true);
        }

        for (int i = 0; i < 4; i++) {
            greenStart.putPiece(greenPawn[i]);
            redStart.putPiece(redPawn[i]);
            blueStart.putPiece(bluePawn[i]);
            yellowStart.putPiece(yellowPawn[i]);
        }
    }