Simple implementation of Conway's Game of Life kata.
Add this line to your application's Gemfile:
gem 'gol'
And then execute:
$ bundle
Or install it yourself as:
$ gem install gol
require 'gol'
world = World.new
world.create_life_at(1, 1)
...
world.tick!
world.has_life_at?(1, 1)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request