summaryrefslogtreecommitdiffstats
path: root/CLI/ruby/lib
diff options
context:
space:
mode:
Diffstat (limited to 'CLI/ruby/lib')
-rw-r--r--CLI/ruby/lib/game_of_life/generators/seed.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/CLI/ruby/lib/game_of_life/generators/seed.rb b/CLI/ruby/lib/game_of_life/generators/seed.rb
new file mode 100644
index 0000000..43dea04
--- /dev/null
+++ b/CLI/ruby/lib/game_of_life/generators/seed.rb
@@ -0,0 +1,20 @@
+# frozen_string_literal: true
+
+module GameOfLife
+ module Generators
+ # Generate a new Universe/Board from a seed number
+ module Seed
+ class << self
+ # Generate a new Universe/Board from a seed number
+ # @param options [Hash] CLI options to generate initial conditions
+ # @option options [Numeric] "seed" number to use for generation
+ # @option options [Numeric] "width" (floored) and used as the width of the universe
+ # @option options [Numeric] "height" (floored) and used as the height of the universe
+ # @return [GameOfLife::Universe] populated with the parsed input
+ def new(options)
+ fail NotImplementedError
+ end
+ end
+ end
+ end
+end