Shasoosh Posted January 27, 2009 Share Posted January 27, 2009 Hey all, I'm trying to found in the last hour a decent simple code for the "game of life" in C language with no success. Then i thought, maybe one of the neowin members will come to the rescue! :p Thanks Link to comment Share on other sites More sharing options...
0 Rudy Posted January 27, 2009 Share Posted January 27, 2009 like the board game? Link to comment Share on other sites More sharing options...
0 HeartsOfWar Posted January 28, 2009 Share Posted January 28, 2009 These are the rules: http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life 1. Any live cell with fewer than two live neighbours dies, as if by needs caused by underpopulation. 2. Any live cell with more than three live neighbours dies, as if by overcrowding. 3. Any live cell with two or three live neighbours lives, unchanged, to the next generation. 4. Any tile with exactly three live neighbours cells will be populated with a living cell. Link to comment Share on other sites More sharing options...
Question
Shasoosh
Hey all,
I'm trying to found in the last hour a decent simple code for the "game of life" in C language with no success. Then i thought, maybe one of the neowin members will come to the rescue! :p
Thanks
Link to comment
Share on other sites
2 answers to this question
Recommended Posts