A simple Game of Life implementation in Java
Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
- 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);
-
- }
|