文件名称:lifugame-conwany
-
所属分类:
- 标签属性:
- 上传时间:2014-03-25
-
文件大小:1.39kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
游戏规则如下: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.