Ryoichi Mizuno - Scientific Computer Graphics

 

The Game of Life


Jump to the source code download

Does not start this Applet?

    The solutions:
  1. How do I control when an untrusted applet or application runs in my web browser?external link [PDF]
  2. How can configure the Exception Site List?external link [PDF]
  3. Java SE Runtime Environment 8 Downloadsexternal link [PDF]
  4. installing JDK8 (and JRE8) on Windows XPexternal link [PDF]

Note: You need a Java-compatible browser.


Brief Instructions:

First setting:

Click "random" button to generate random patterned life.
Click "stray glider" to generate the glider patterned life.
Click "max" to generate the max patterned life.
Click a cell to add or delete life.

Control:

Click "start" button to start the game. Then, "start" button turns to "stop" button.
Click "stop" button to stop the game. Then, "stop" button turns to "start" button.
Click "clear" button to abort the game and delete the all lifes.

Source code:

gameOfLife.java download

Further reading:
Wikipedia, "Conway's Game of Life", The Web, http://en.wikipedia.org/wiki/Conway's_game_of_lifeexternal link, (2008).

Ryoichi Mizuno - Scientific Computer Graphics
Supplementary Information: Ryoichi Mizuno - Google+ g+External link

Copyright © 2001- Ryoichi Mizuno, All Rights Reserved.