lifugame-conwany

所属分类:游戏
开发工具:Visual C++
文件大小:1KB
下载次数:1
上传日期:2014-03-25 22:57:32
上 传 者b8259243
说明:   游戏规则如下: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)

文件列表:
生命游戏conwany.cpp (3405, 2010-04-09)

近期下载者

相关文件


收藏者