Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 266 Bytes
require 'location'
require 'grid'
require 'maze'
require 'printer'
class Generator
def generate(maze)
# ...
end
end
size = 20
locations = Grid.new(size).locations
maze = Maze.new(locations)
Generator.new.generate(maze)
puts Printer.new(maze, size).print