- Overview
- executable, Eclipse and Maven projects
- executable, Eclipse and Maven projects
- executable, Eclipse and Maven projects
- executable, Eclipse and Maven projects
- executable, Eclipse and Maven projects
- executable, Eclipse and Maven projects
The Game of Life program
first creates a two-dimensional field, links its nodes and initialises the weights.
To do this, the methods LifeUniverse.createNet()
and LifeUniverse.initNet()
are called.
The development of the generations is then visualised, whereby the program is controlled via keyboard input:
I
stands for Init
LifeUniverse.initNet()
S
stands for Step
LifeUniverse.updateNet()
R
stands for Run
LifeUniverse.updateNet()
in a loop
P
stands for Pause
E
stands for Exit
The complete program consists of four classes:
LifeCell.java
LifeUniverse.java
StdDraw.java
(from Princeton University) LifeApp.java
main
method
Download links:
GameOfLife.jar
GameOfLife-Eclipse.zip
GameOfLife-Maven.zip