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