ok, it looks at the current generation, if the relative cells to it (that cell, one up, one down, one left, one right) if 3 or 4 of them are a 1 it stays or is made a 1 if <3 or >5 are a 1 it becomes a 0, it does this for 5 generations
Line 41/43 don't seem to make sense together...I think you meant to reverse the < > on line 41...and you might as well just make line 43 an else statement.
Other then that...your display code is outside of the 5 loops, so you will never see the results of those, you need to move it inside of it.
your right about line 41/43, but I dont understand what you mean about the display code, it seems to be in the loop to me, can you show me what you mean
i cant see how that would work, the display code for the origin is outside the loop yes, but then the display code for the future array is inside, it is printed (not working) then arrayfuture is == arraypast and the loop is started again, so
I guess what I am trying to say is that the arrayfuture has to be inside the for loop since it changes every pass, it's printing offspring #1 etc. So the loop is working, but why am I getting no output at all for the array