A simple Game of Life implementation in Java
Não pode escolher mais do que 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.

18 linhas
301 B

  1. package edu.stuy.goldfish.rules;
  2. import edu.stuy.goldfish.Grid;
  3. public class 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
  10. */
  11. public static Grid run (Grid g) {
  12. return g;
  13. }
  14. }