Add ruby version
Add pry and pry-byebug
Add brackets
Add DeadOrAlive class
- that models cell living and dying rules
Add neighbours counter
Make cells a next_iteration parameter
- that way the next iteration is closer to a pure function
Add spec helper
Fix the world
Add IO class
Add runner
Move specs into unit directory
- prep refactoring prior to introducing functional tests directory
Rename world to grid
- I'm planning to add GameOfLife class which will provide a public interface into the sim.
- the name world is too close to Game Of Life, so I renamed it to minimise ambiguity
- In methods string_to_grid & grid_to_string I replaced the word grid with arr to disambiguate
- from the newly created Grid class
Add readme with the Game of Life rules
Fix grid
Add game of life class & test