Welcome![Sign In][Sign Up]
Location:
Search - game of life ja

Search list

[AI-NN-PRGameOfLife_java

Description: 生命游戏的java源代码。基于元胞自动机的生命游戏,是学习和深入CA方法的很好例子。-life game of java source code. Based on Cellular Automata game of life, and in-depth study of CA good example.
Platform: | Size: 4096 | Author: 颜建军 | Hits:

[JSP/JavaLifeGame

Description: 生命游戏,为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.
Platform: | Size: 1024 | Author: 白龙 | Hits:

CodeBus www.codebus.net