def matrix_to_board(matrix):
    """
    Converts the matrix into a board.

    Args:
        matrix (np.array): The board in matrix representation.

    Returns:
        list: The board.
    """
    return matrix.reshape(1, -1).tolist()[0]