Files
basic-computer-games/55_Life/java
Martin Thoma e64fb6795c MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
..
2022-01-29 16:30:42 +01:00
2022-03-05 09:29:23 +01:00

Game of Life - Java version

Original source downloaded from Vintage Basic

Conversion to Oracle Java

Requirements

  • Requires Java 17 (or later)

Notes

The Java version of Game of Life tries to mimics the behaviour of the BASIC version. However, the Java code does not have much in common with the original.

Differences in behaviour:

  • Input supports the . character, but it's optional.
  • Evaluation of DONE input string is case insensitive.
  • Run with the -s command line argument to halt the program after each generation, and continue when ENTER is pressed.