A simple Game of Life implementation in Java
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

21 řádky
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. }