文件名称:lifugame-conwany
介绍说明--下载内容均来自于网络,请自行研究使用
游戏规则如下:1. 给定单元的邻居是与它在垂直,水平或对角上相界的8个单元。2. 如果1个单元为活的,但没有邻居单元是活的,或者仅有一个邻居单元是活的,则在下一代,此单元
会因为孤独而死亡。
3. 如果1个单元周围有2个或者3个邻居单元为生,则该单元在下一代也是活的。4. 如果1个单元是死的,则在下一代,如果它刚好有3个邻居单元是活的,则此单元变成活的。
所有其它死的单元在下一代仍然是死的。
-Rules of the game are as follows: (1) a given cell and its neighbors are in a vertical, horizontal or diagonal photogenic sector 8 units. 2 If a cell is alive, but no neighbor cell is alive, or just a neighbor cell is alive, then in the next generation, this unit
Because of loneliness and death.
3 If there are two or three neighbors living units surrounding a unit, the unit is also alive in the next generation. 4 If a cell is dead, then in the next generation, if it happens to have three neighboring cells are alive, this unit becomes alive.
Rules of the game are as follows: (1) a given cell and its neighbors are in a vertical, horizontal or diagonal photogenic sector 8 units. 2 If a cell is alive, but no neighbor cell is alive, or just a neighbor cell is alive, then in the next generation, this unit
Because of loneliness and death.
3 If there are two or three neighbor
会因为孤独而死亡。
3. 如果1个单元周围有2个或者3个邻居单元为生,则该单元在下一代也是活的。4. 如果1个单元是死的,则在下一代,如果它刚好有3个邻居单元是活的,则此单元变成活的。
所有其它死的单元在下一代仍然是死的。
-Rules of the game are as follows: (1) a given cell and its neighbors are in a vertical, horizontal or diagonal photogenic sector 8 units. 2 If a cell is alive, but no neighbor cell is alive, or just a neighbor cell is alive, then in the next generation, this unit
Because of loneliness and death.
3 If there are two or three neighbors living units surrounding a unit, the unit is also alive in the next generation. 4 If a cell is dead, then in the next generation, if it happens to have three neighboring cells are alive, this unit becomes alive.
Rules of the game are as follows: (1) a given cell and its neighbors are in a vertical, horizontal or diagonal photogenic sector 8 units. 2 If a cell is alive, but no neighbor cell is alive, or just a neighbor cell is alive, then in the next generation, this unit
Because of loneliness and death.
3 If there are two or three neighbor
(系统自动生成,下载前可以参看下载内容)
下载文件列表
生命游戏conwany.cpp