06/16/22 数据结构与程序设计 2
Life Game Implement
Set up a Life conguration as an initial
arrangement of living and dead cells.
Print the Life conguration.
While the user wants to see further
generations:
Update the conguration by applying the rules of
the Life game.
Print the current conguration.