jLife : a new version of the game of Life (Conway) that uses win32 SDK and genetics

Download Files

Changes

  1. Initial Version

Installation

None.

Notes

The original game of Life was described by John Conway here Conway's Scientific American Article.
and a Java implementation is here Game of Life.

This design essentially came from a conversation Thomas my son and I had about evolution and how things interact.

How to use it

Press Go! to start it up.

If all the Animals die, press Re-init!. You don't have to stop it to re-initialize the screen.

Press Settings...

What the colors mean

jLife Initial screen

This screen shot shows jLife just after start up. The screen is randomly set to have Animals or not, in this case there are 10,448 Animals.

What the text means

jLife Running, just after starting

This screen shot shows jLife just after starting up. The big die-off has already occurred and five colonies have started (two merged together in the middle right of the screen).

Cool things

After the first initialization is done, there is the big "die-off" where most of the initial Animals die from starvation. The result is usually less than 100 Animals are on the screen. During the pause where there are few Animals, the plant life builds up. Then one to four "colonys" start up. Within a short time, the entire screen is filled with Animals eating at the abundant plant life, usually up to 2000 - 3000.

But eventually the plants run out and another "die-off" starts. The Animals almost go extinct, some times down to a few hundred. The plant life recovers and the Animals re-populate again.

This cycle will continue for hours. It is possible for the population to go extinct but it's rare.

Try setting Sunshine% from it's default of 32 down to 31, 30, 29 and so on. Notice that the downward swing of the Animal population goes closer and closer to zero. There will be a point where the Animals do not start up (somewhere around 26 or 27). Click the Re-Init! button to recover.

Try setting the Sunshine% to 80. It's difficult to describe what seems to happen here. The Animals go nuts, but the color patterns produced are kind of "inverted" from the normal case.

Now set Socialibility to 100 and leave Sunshine% at 80. The Animals clump in tiny tribes of 5 - 10 each. They can split in two and new tribes show up.

Leave Socialibility at 100 and set Sunshine% to 50. The population drops dramatically, most of the time going to zero.

jLife Settings dialog

This screen shot shows jLife Settings dialog. I am setting the proabability of Sunshine in a cell to 80%.

jLife High Sunshine

This screen shot shows jLife after running with Sunshine% set to 80.

What's next?

What happens every Generation






Contact me about content on this page using john_web-at-arrizza-dot-com
For Web Master or site problems contact: webadmin-at-arrizza-dot-com
Copyright John Arrizza (c) 2001-2010