文件名称:LifeGame
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 白*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
生命游戏,为1970年英国数学家J.H.Conway所提出,某一细胞的邻居包括上,下,左,右,左上,左下,右上与右下相邻的细胞,游戏规则如下:
1,孤单死亡:如果细胞的邻居小于一个,则该细胞在下一个状态死亡。
2,拥挤死亡:如果细胞的邻居在四个以上,则该细胞在下一个状态死亡。
3,稳定:如果细胞的邻居为两个或三个,则该细胞在下一个状态稳定。
4,复活:如果某位置原无细胞存活,而该位置的邻居为三个,则该位置将复活一个细胞。-Game of Life for 1970 put forward by the British mathematician JHConway, a neighbor cell, including the upper and lower, left, right, upper left, lower left, upper right and lower right adjacent cells, the rules of the game are as follows: 1, lonely death: If cells in less than a neighbor, then the next state of cell death. 2, overcrowded death: If the cells in four or more neighbors, then the next state of cell death. 3, Stability: If the cells for two or three neighbors, then the cells in the next stable state. 4, Resurrection: If a location of the original cell-free survival, and the location of three neighbors, then the location will be the revival of a cell.
1,孤单死亡:如果细胞的邻居小于一个,则该细胞在下一个状态死亡。
2,拥挤死亡:如果细胞的邻居在四个以上,则该细胞在下一个状态死亡。
3,稳定:如果细胞的邻居为两个或三个,则该细胞在下一个状态稳定。
4,复活:如果某位置原无细胞存活,而该位置的邻居为三个,则该位置将复活一个细胞。-Game of Life for 1970 put forward by the British mathematician JHConway, a neighbor cell, including the upper and lower, left, right, upper left, lower left, upper right and lower right adjacent cells, the rules of the game are as follows: 1, lonely death: If cells in less than a neighbor, then the next state of cell death. 2, overcrowded death: If the cells in four or more neighbors, then the next state of cell death. 3, Stability: If the cells for two or three neighbors, then the cells in the next stable state. 4, Resurrection: If a location of the original cell-free survival, and the location of three neighbors, then the location will be the revival of a cell.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
LifeGame.java