Sha256: 0e3f7beb48ca45a6b909e512cefb500f176ac9bb1efd401e6aae1c75b4731a29

Contents?: true

Size: 265 Bytes

Versions: 7

Compression:

Stored size: 265 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'grope'

env = Grope::Env.new
env.load('http://www.horaguchi.net/map_generator/map_generator.html')

while true
  puts "\e[2J\e[0;0f"
  env.window.generate
  puts env.document.generator.text_map.value
  sleep 0.5
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
grope-0.2.2 examples/map_generator.rb
grope-0.2.0 examples/map_generator.rb
grope-0.1.4 examples/map_generator.rb
grope-0.1.3 examples/map_generator.rb
grope-0.1.2 examples/map_generator.rb
grope-0.1.1 examples/map_generator.rb
grope-0.0.4 examples/map_generator.rb