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.

16 rader
269 B

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