Skip to content

Instantly share code, notes, and snippets.

@bragboy
Created December 31, 2015 12:40
Show Gist options
  • Save bragboy/1ac30394ad2b93a5e81b to your computer and use it in GitHub Desktop.
Save bragboy/1ac30394ad2b93a5e81b to your computer and use it in GitHub Desktop.
require 'pry'
Dir["./init/*.rb"].each {|file| require file }
Dir["./models/*.rb"].each {|file| require file }
print "Enter the number of Floors: "
floors = gets.chomp
print "Enter the number of Main Corridors: "
mc_per_floor = gets.chomp
print "Enter the number of Sub Corridors: "
sc_per_floor = gets.chomp
controller = Controller.new(floors.to_i, mc_per_floor.to_i, sc_per_floor.to_i)
controller.input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment