A simple Game of Life implementation in Java
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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