Skip to content

mroam/life

This branch is 1 commit ahead of, 51 commits behind extra-programming/life:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 25, 2022
2cc9c37 · Apr 25, 2022

History

6 Commits
Nov 14, 2011
Nov 14, 2011
Nov 14, 2011
Nov 14, 2011
Nov 14, 2011
Nov 14, 2011
Nov 14, 2011
Apr 25, 2022
Nov 14, 2011
Nov 14, 2011
Nov 14, 2011
Nov 14, 2011
Nov 14, 2011
Nov 14, 2011
Nov 14, 2011

Repository files navigation

# Read me....
# To run this in bluej.org IDE, control-click "<<applet>> LifeGame" and choose method "main( )". 
(Use the default {} that it supplies as parameter to main.)

# To compile with terminal, cd to this directory and merely
javac ComponentUtil.java LifeGame.java
# or see deprecation warnings:
javac -Xlint ComponentUtil.java LifeGame.java

# Can run by browsing the "lifegame.html"
# Or, to run from terminal, merely
java LifeGame
# Note: not saying ".class" !!
# Don't have to say full:  java LifeGame LifeBoard ComponentUtil
# The version with listeners does not need to mention the LifeGame$1 etc.


# Current issues...
[ ] Gets ugly layout after reading in a scenario from a file. Resize by hand to fix.


# Future Plans:
# [ ] Click to draw/erase cells.


# Fixed/History
# 2011 Oct 21
[x] brought in Gavin's speed slider and processing thread

# 2011 Sep 20
# [x] "Get File" button was causing other buttons to get hidden or not repainted?
# [x] Wasn't running from html because constructor wasn't public.
# [x] Window didn't show up in standalone. Double boo-boo: init was calling init, and constructor was calling init which called constructor.
# [x] Deprecated "action( )" has been replaced with actionListeners.

About

Conway life

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 91.6%
  • HTML 8.4%