No description
Find a file
2023-05-28 15:50:55 -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 Added gitignore, fixed print routine 2023-05-28 15:25:50 -04:00
LICENSE Add LICENSE and README -- Mozilla Public License v2.0 2023-05-28 15:50:55 -04:00
README.md Add LICENSE and README -- Mozilla Public License v2.0 2023-05-28 15:50:55 -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.

Going to try and figure out how to do the "modify in-place" algorithm instead of the easy way using 2 arrays that you ping-pong between. Still unclear how you can modify it in-place without destroying information you need when processing 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.