public String getBoardString() {
        String boardString = "[";
        for (int i = 0; i < boardArray.length; i++) {
            boardString += boardArray[i] + ",";
        }
        boardString += "]";
        return boardString;
    }