No description
Find a file
2023-05-29 05:49:14 -04:00
.gitignore Added gitignore, fixed print routine 2023-05-28 15:25:50 -04:00
CMakeLists.txt Added gitignore, fixed print routine 2023-05-28 15:25:50 -04:00
conway.c Fully working 2 array version 2023-05-29 05:49:14 -04:00
LICENSE Add LICENSE and README -- Mozilla Public License v2.0 2023-05-28 15:50:55 -04:00
README.md Fully working 2 array version 2023-05-29 05:49:14 -04:00

Conway's Game Of Life

Because of course we need another implementation

I've been told you're not a real programmer unless you've written a Conway Game of Life program. So I figured I'd better get it out of the way sooner or later, and so here we are.

Written in C because Python would probably have been too easy. Was considering doing it in C++ so I could take advantage of classes.

Currently it uses the 2 array algorithm, copying to a temporary array to process and then copying back after.

Going to try and figure out how to do the "modify in-place" algorithm instead. Still unclear how you can modify it in-place without destroying information you need whenprocessing cells further along... have to give it a good think. I mean, I assume there's a way to do it because this programming website set it as a challenge.

Licensed under the Mozilla Public License v2.0 like pretty much all of my code is. Feel free to use it or study it for whatever purpose.