diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-04-21 22:05:55 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-04-21 22:05:55 +0200 |
commit | 4c7bb3b5086f3eef81d3c02716b9f10945ced585 (patch) | |
tree | fc48403c2fce56178f10fc01c309c096a4e56ac2 | |
parent | 836e752fee59bed9add42ebf3040e298baf2ca2e (diff) |
Set the size from the cli
-rw-r--r-- | main.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,6 +38,6 @@ class MazeGenerator end end -mazeGenerator = MazeGenerator.new(118, 30) +mazeGenerator = MazeGenerator.new(ARGV[0].to_i, ARGV[1].to_i) mazeGenerator.generate puts mazeGenerator.maze |