A simple Game of Life implementation in Java
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Goldfish.java 374 B

1234567891011121314151617181920
  1. package edu.stuy.goldfish;
  2. import edu.stuy.goldfish.rules.*;
  3. public class Goldfish {
  4. private Grid _grid;
  5. private Render _render;
  6. public Goldfish () {
  7. _render = new Render(640, 480);
  8. _grid = new Grid(640, 480);
  9. }
  10. public static void main (String[] args) {
  11. Goldfish g = new Goldfish();
  12. Conway c = new Conway();
  13. }
  14. }