In order to run, go to the main directory and run ruby life.rb
- When prompted with "next?" just press enter to print out the next state or crl-c to exit.
- To run the specs run
gem install rspec
and thenrspec spec/life_spec.rb
- In the initialize function there are a few lines you can uncomment in order to have it generate some more common patterns like an oscillator and a glider