A simple Game of Life implementation in Java
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

17 rader
297 B

  1. package edu.stuy.goldfish.rules;
  2. import edu.stuy.goldfish.Grid;
  3. import edu.stuy.goldfish.Patch;
  4. public class Conway implements RuleSet {
  5. public Conway () {
  6. Patch p = new Patch();
  7. }
  8. @Override
  9. public static Grid run (Grid g) {
  10. return g; //TODO: do stuff.
  11. }
  12. }