logoalt Hacker News

smallerizeyesterday at 8:06 PM3 repliesview on HN

To make a new cell "live" it must be neighbored by three live cells. And in 2d, a cell only has two neighbors.


Replies

paulmooreparksyesterday at 10:57 PM

A 1d row of cells also affects nearby cells above and below the line. Consider a row of three cells:

https://parkscomputing.com/page/conways-game-of-life?boardSi...

That produces a spinner, because the empty cells above and below the 1d row have three live cells nearby.

show 1 reply
pohlyesterday at 9:09 PM

I see what you're saying, but I think it's a misunderstanding. 1D here only means that there's some state where the active cells are confined to one row — but one row within the ordinary 2D GoL plane. I'm sure the next iteration leaps off the line immediately. Search for "Blinker" here to imagine how it could start spreading off the line.

https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

show 2 replies
metalliqazyesterday at 8:22 PM

s/2d/1d/ right?

show 1 reply