Conway's Game of Life


Many years ago, when I was taking an AI course at Carleton University, I created a java applet letting the user play Conway’s Game of Life.

I asked ChatGPT to code me a new one in javascript, and I was impressed that it gave me working code almost immediately. I was watching my local browser properly showing a Game of Life run within ten minutes of deciding I wanted to. However, the code was poor quality and I wanted to be able to make a lot of my own adjustments. It’s not fun to work with bad code. So I refactored it, added some features and published it to some of my github pages. I might enhance it some more, if I can’t think of something better to do one day. Or maybe as the subject of a beginner’s coding tutorial, or something.

It should be pretty straightforward to use, just click the “go” button to start, optionally selecting a pattern first from the dropdown, if you don’t like the default. There’s also a slider to slow it down if it’s going too fast, or you can stop it and use the step button if you really want to see what’s going on.