private void fillTriangle(int number, Colors color) {
        Piece piece = new Piece(color);
        if (number == 1) {
            for (int i = 0; i < 4; i++) {
                for (int j = 4; j < 8; j++) {
                    if (board[i][j] != null) {
                        board[i][j].setPiece(piece);
                    }
                }
            }
        }
        if (number == 2) {
            for (int i = 4; i < 8; i++) {
                for (int j = 10; j < board[0].length; j++) {
                    if (board[i][j] != null) {
                        board[i][j].setPiece(piece);
                    }
                }
            }
            board[4][9].setPiece(piece);
            board[5][9].setPiece(piece);
        }
        if (number == 3) {
            for (int i = 9; i < 13; i++) {
                for (int j = 10; j < board[0].length; j++) {
                    if (board[i][j] != null) {
                        board[i][j].setPiece(piece);
                    }
                }
            }
            board[11][9].setPiece(piece);
            board[12][9].setPiece(piece);
        }
        if (number == 4) {
            for (int i = 13; i < board.length; i++) {
                for (int j = 4; j < 8; j++) {
                    if (board[i][j] != null) {
                        board[i][j].setPiece(piece);
                    }
                }
            }
        }
        if (number == 5) {
            for (int i = 10; i < 13; i++) {
                for (int j = 0; j < 3; j++) {
                    if (board[i][j] != null) {
                        board[i][j].setPiece(piece);
                    }
                }
            }
            board[9][1].setPiece(piece);
            board[12][3].setPiece(piece);
        }
        if (number == 6) {
            for (int i = 4; i < 7; i++) {
                for (int j = 0; j < 3; j++) {
                    if (board[i][j] != null) {
                        board[i][j].setPiece(piece);
                    }
                }
            }
            board[4][3].setPiece(piece);
            board[7][1].setPiece(piece);

        }

    }