From 4c7bb3b5086f3eef81d3c02716b9f10945ced585 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Sat, 21 Apr 2018 22:05:55 +0200 Subject: Set the size from the cli --- main.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.rb b/main.rb index d275eac..c04bd13 100644 --- a/main.rb +++ b/main.rb @@ -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 -- cgit v1.1