01-17-2025, 10:04 PM
(This post was last modified: 01-17-2025, 10:21 PM by johnno56.
Edit Reason: added pattern
)
I was wondering why I kept getting the same number of iterations each time I ran the program.
I figured that the randomize statement was missing. It was. But rnd() is never used. Curious. I searched through many 'versions' of Conway's Life and they too did not use randomization. I read through Conway's four "rules" and understood them. But still did not see any form of randomization. Which confirmed my first thought of repeating results... then I kept reading... "The initial pattern constitutes the seed of the system."
Therefore, change the pattern, change the results. Cool. (was this a veiled suggestion of a random pattern generator? lol)
Try this pattern:
c[X/2-1][Y/3+1] = 1
c[X/2][Y/3+1] = 1
c[X/2+1][Y/3+1] = 1
c[X/2-1][Y/3+1] = 1
c[X/2][Y/3+2] = 1
c[X/2+1][Y/3+3] = 1
Do not interpret my curiosity as a criticism of your version... Just trying to understand how the beastie works....
By the way, well done! I even like the inclusion of colour... very cool.
I figured that the randomize statement was missing. It was. But rnd() is never used. Curious. I searched through many 'versions' of Conway's Life and they too did not use randomization. I read through Conway's four "rules" and understood them. But still did not see any form of randomization. Which confirmed my first thought of repeating results... then I kept reading... "The initial pattern constitutes the seed of the system."
Therefore, change the pattern, change the results. Cool. (was this a veiled suggestion of a random pattern generator? lol)
Try this pattern:
c[X/2-1][Y/3+1] = 1
c[X/2][Y/3+1] = 1
c[X/2+1][Y/3+1] = 1
c[X/2-1][Y/3+1] = 1
c[X/2][Y/3+2] = 1
c[X/2+1][Y/3+3] = 1
Do not interpret my curiosity as a criticism of your version... Just trying to understand how the beastie works....
By the way, well done! I even like the inclusion of colour... very cool.
Logic is the beginning of wisdom.