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.

21 linhas
374 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 static void main (String[] args) {
  11. Goldfish g = new Goldfish();
  12. Conway c = new Conway();
  13. }
  14. }