samples/13_path_finding_algorithms/02_detailed_breadth_first_search/app/main.rb
# Renders cells that have been searched in the appropriate color
Renders cells that have been searched in the appropriate color
Renders cells that have been searched in the appropriate color
def render_visited
    state.visited.each_key do |cell| 
      outputs.solids << [scale_up(cell), visited_color]
    end
  end
def render_visited state . visited . each_key do | cell | outputs . solids << [ scale_up ( cell ) , visited_color ] end end
Renders cells that have been searched in the appropriate color
Renders cells that have been searched in the appropriate color