Thunderbird Methuselah (Game of Life) - Printable Version +- NaaLaa (https://www.naalaa.com/forum) +-- Forum: NaaLaa (https://www.naalaa.com/forum/forum-1.html) +--- Forum: NaaLaa 7 Code (https://www.naalaa.com/forum/forum-4.html) +--- Thread: Thunderbird Methuselah (Game of Life) (/thread-186.html) |
Thunderbird Methuselah (Game of Life) - 1micha.elok - 01-17-2025 click each image to zoom in CONWAY'S GAME OF LIFE Just a quick conversion to N7 Reference : "Thunderbird" methuselah evolution in the Game of Life https://rosettacode.org/wiki/Conway%27s_Game_of_Life#BASIC256 Code: '============================================================== RE: Thunderbird Methuselah (Game of Life) - Marcus - 01-17-2025 Nice! I believe there's a version of game of life in N7/examples/other too RE: Thunderbird Methuselah (Game of Life) - johnno56 - 01-17-2025 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. |