Dec 15, 2023
The Game of Life is one of my favorite programs, but I've never tried to go deep in learning about it, and as a result I still learn fairly obvious (with hindsight) things about it. This time I realized two things:
- I don't need to keep checking if a cell is in bounds. Just don't update a border of cells!
- I don't need to clean up the new array at each time step! :facepalm:
This post is part of my Freewheeling Apps Devlog.
Comments gratefully appreciated. Please send them to me by any method of your choice and I'll include them here.