Conway's game of life

Edit (2021): A better solution: https://github.com/spacekitcat/convolve2d-conways-game-of-life/blob/main/main.py

This is a fairly simple web based implementation of Conway's game of life. I wrote it as a Kata and for interview preparation and thought the result was kinda neat.

It starts randomised, sometimes it will halt almost immediately, other times it will seem to go on forever. That's the point of Conway's game of life in my view. It should behave different each time you reload.

The rendering could be much faster with better layout fluidity. There isn't a Git repository for this as such, it's a quick and dirty bit of JS hacked onto my legacy site.

Show Comments