def make_bomb_maps(position):
    ' Makes an array of an agents bombs and the bombs attributes '
    blast_strengths = np.zeros((board_size, board_size))
    life = np.zeros((board_size, board_size))
    for bomb in bombs:
        (x, y) = bomb.position
        if ((not is_partially_observable) or in_view_range(position, x, y)):
            blast_strengths[(x, y)] = bomb.blast_strength
            life[(x, y)] = bomb.life
    return (blast_strengths, life)
Makes an array of an agents bombs and the bombs attributes
def make_bomb_maps(position):
    '  '
    blast_strengths = np.zeros((board_size, board_size))
    life = np.zeros((board_size, board_size))
    for bomb in bombs:
        (x, y) = bomb.position
        if ((not is_partially_observable) or in_view_range(position, x, y)):
            blast_strengths[(x, y)] = bomb.blast_strength
            life[(x, y)] = bomb.life
    return (blast_strengths, life)