A simple Game of Life implementation in Java
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

25 linhas
419 B

  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 void run () {
  11. //TODO: make it run.
  12. }
  13. public static void main (String[] args) {
  14. Goldfish g = new Goldfish();
  15. g.run();
  16. }
  17. }