9 lines
126 B
Ruby
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" |