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ů.

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