A simple Game of Life implementation in Java
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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);
-
- }
|