Interactive Game of Life

I’ve been working on an implementation of Conway’s Game of Life. It has several interesting patterns included. Please let me know and feedback or suggestions, hope you enjoy!

2 Likes

Thank you for sharing and welcome to the forum! :slight_smile: I did run it and it’s mesmerizing to see it evolve from a random state… I find it interesting how sometimes large and complex formations decay into nothing.

I was also just thinking that it might be interesting to be able to paint not just single pixels, but paint gliders and other formations. Or “spray paint” :slight_smile:

And set the frame rate in the UI?

Might be also cool to be able to load and save the state as PNG images. It’s not described in the guide yet but one can use openFileDialog and saveFileDialog to display a file selector as shown here or here.

Cool stuff :+1:

Hi @abe :wave: thanks for taking a look and the thoughts!

I like the idea of painting from some sort of patterns palette, will think about how to best implement that! Re: spray paint it should currently be possible to click and drag to spray living cells.

You can scroll up and down to change the generation rate (and use the i key to show the frame rate and current generation).

Awesome didn’t know about the file dialogs! Just pushed an update which enables using S / L keys to save and load.

1 Like