19 lines
No EOL
917 B
Markdown
19 lines
No EOL
917 B
Markdown
# 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. |