Here is something I've thrown just together with some spare time, let me know how I did. The most surprising thing about this is how watchable the whole thing is, SFML should seriously consider having this as a tutorial.
main.cpp:
http://pastebin.com/AuLJhKy8
LifeTile.hpp:
http://pastebin.com/dZGkG5q9
I wanted to put this in my GitHub, but I'm quickly losing patience with that sites over zealous bots so paste bin it is. You only have to link to SFML 2.1 Graphics, Window and System libraries if you want to try and run it.
- The graph isn't infinite like it is supposed to be, it's square and the size is set by the "Limit" variable on Line 19 in main.cpp. Likewise the tiles that start out living are "randomized", the number of them there are on the first turn is set in the "Living" variable on Line 21 of main.cpp.
- The White tiles are dead, the green ones are newly born this cycle and the black tiles are living ones.
- Left click on a dead tile to force it to "spawn". Left Click on a living tile to force it to die. This isn't part of the original "game" but I found that it makes things more interesting.