mazes_2018/sidewinder_demo.rb
2018-04-10 22:31:01 -04:00

9 lines
126 B
Ruby

require "grid"
require "sidewinder"
grid = Grid.new(6, 10)
Sidewinder.on(grid)
puts grid
img = grid.to_png
img.save "sw.png"