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.
|
- package edu.stuy.goldfish.rules;
-
- import edu.stuy.goldfish.Grid;
-
- public interface RuleSet {
- public static int states;
-
- /**
- * Run this ruleset on a grid, returning the result.
- *
- * @param g The grid this is running on
- *
- * @return The new grid
- */
- public static Grid run (Grid g);
-
- }
|