samples/13_path_finding_algorithms/08_a_star/app/main.rb
def render_greedy_visited
    greedy.came_from.each_key do | visited_cell |
      outputs.solids << [greedy_scale_up(visited_cell), visited_color]
    end
  end
# Renders the visited cells on the second grid
Renders the visited cells on the second grid
Renders the visited cells on the second grid
def render_greedy_visited
    greedy.came_from.each_key do | visited_cell |
      outputs.solids << [greedy_scale_up(visited_cell), visited_color]
    end
  end
def render_greedy_visited greedy . came_from . each_key do | visited_cell | outputs . solids << [ greedy_scale_up ( visited_cell ) , visited_color ] end end
Renders the visited cells on the second grid
Renders the visited cells on the second grid