vs4vijay / golife

Conway's Game of Life Implementation in Ruby
MIT License
2 stars 3 forks source link

Fixed bug in next_generation where future generation influenced itself #6

Closed jmks closed 7 years ago

jmks commented 7 years ago

Noticed this when doing #4. An oscillating automaton wasn't oscillating!

The playground's rows were being updated to the next generation while iterating over the current generation.

vs4vijay commented 7 years ago

Thanks @jmks , Do contribute more if you find any bug or any enhancements needs to be done. And could you please add Instructions for running Test cases as well?