A simple Game of Life implementation in Java
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

18 líneas
294 B

  1. package edu.stuy.goldfish.rules;
  2. import edu.stuy.goldfish.Grid;
  3. public interface RuleSet {
  4. /**
  5. * Run this ruleset on a grid, returning the result.
  6. *
  7. * @param g The grid this is running on
  8. *
  9. * @return The new grid
  10. */
  11. public static Grid run (Grid g);
  12. }