- assume people live in a
[20,20]
matrix - fork mark
X
means living and dot mark.
means dead - enter some ordered pairs of numbers for the first generation of living people
- enter y to see the next generation
$g++ game_of_life.cpp -o life-game
./life-game
I learn this cpp game from some public edu resource of Boston University CS department. Thanks to professors ๐