没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > javagameoflife |
|
javagameoflife
|
| 0 | 0 | 0 |
| 贡献者 | 讨论 | 代码提交 |
IntroductionThis is a java implementation of Conway's Game of Life.
DetailsConway's Game of Life is a simple zero-person game built upon cellular automato theory. (See project links for more information on Conway's Game of Life).
The game was built for a graduate school Mod & Sim course, so many ideas came from the basis of Modeling and Simulation Theory.
This project takes the game a step further, and allows the user to be more influential in the outcome of the game. The user can...
Change the size of the grid. Change the neighbor coloring scheme in order to see neighbor counts of living and dead cells. Automatically spawn new life and random configurations Manually spawn life at specified cells while the game is paused or simulating Stop, pause, rewind, and fast forward the simulation at any point in time to see the causes of the current life configuration.
Life RulesMost important, this implemtentation stresses the important of the rules used to generate life during the game. The rules are faily straight forward: depending on the number of living cells around a current alive cell, it can either remain alive out of comfort, die out of loneliness, or die due to overcrowding. A dead cell can remain dead, or become alive if there are enough alive neighbors to reproduce.
However, our game raises the possibility, what if exact numbers were not used, but probabilities? Therefore, there is an X% chance that if there are a certain number of neighbors around a cell, it remains alive, or perhaps dies.
This game allows the users to create such rules, as well as use a number of predefined rules that result in interesting and beautiful arrangements of living and dead cells within the game.
Life StatisticsFirst-order Life statistics were added to the game in order to compute characteristics about each cell, such as: Birth/Death Correlation, Coefficient of variance, Life/Death Coefficeient of Skewness and Deviation. There are statistics about the entire board as well such as: Total Births/Deaths, Maximum Life/Death, and number of Generations.
标签:
