samples/99_genre_rpg_roguelike/02_roguelike_line_of_sight/app/main.rb
def export_dungeon
    state.dungeon.each do |d| # on each element of dungeon collection
      puts "state.dungeon << [#{d.x}, #{d.y}]" # prints cell coordinates
    end
  end
# Exports dungeon by printing dungeon cell coordinates
Exports dungeon by printing dungeon cell coordinates
Exports dungeon by printing dungeon cell coordinates
def export_dungeon
    state.dungeon.each do |d| 
      puts "state.dungeon << [#{d.x}, #{d.y}]" 
    end
  end
def export_dungeon state . dungeon . each do | d | puts "state.dungeon << [#{d.x}, #{d.y}]" end end
Exports dungeon by printing dungeon cell coordinates
Exports dungeon by printing dungeon cell coordinates
# on each element of dungeon collection # prints cell coordinates