Sha256: 448b1f2a2448d785d2bc5a6db5a0d7724caeec72c24debebd01f0028cc5f3d88
Contents?: true
Size: 562 Bytes
Versions: 3
Compression:
Stored size: 562 Bytes
Contents
#!/usr/bin/env ruby require "bundler/setup" require "game_of_life" # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. # (If you use this, don't forget to add pry to your Gemfile!) # require "pry" # Pry.start puts 'width = integer, height = integer, seed_probability <= 1' puts 'game = GameOfLife::Earth.new(width, height, seed_probability)' puts 'game.log' puts 'game.next!' puts 'game.log' puts 'game.next!' puts 'game.log' require "irb" IRB.start(__FILE__)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
conways_game_of_life-1.0.3 | bin/console |
conways_game_of_life-1.0.2 | bin/console |
conways_game_of_life-1.0.0 | bin/console |