CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - Lifegame JA
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - Lifegame JA - List
[
JSP/Java
]
LifeGame
DL : 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.
Update
: 2025-02-17
Size
: 1kb
Publisher
:
白龙
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.