Peter's Fun Zone

PctLife

I've always been fascinated by Conway's Game of Life.

There are a number of really good implementations. I couldn't find much in Java with source, so wrote my own. It's not brilliant, but it's good enough.

Download Now!

You can supply the name of a Life pattern on the command line and it will be loaded (if it's reasonably small - the board is too small for many). A good selection of Life patterns is available from http://www.ibiblio.org/lifepatterns/.

If you have Java installed, then you can run Life as an applet.

I learnt a little along the way. The initial version had each cell as an Object. Simply tracking all these little swing panels was a major performance hit. So the current version just has a panel with the cells drawn in a single pass with Java2D, and that's much quicker.


Other formats: SVR4 Package


Peter's Home | Fun