Anonymous user
Conway's Game of Life: Difference between revisions
m
→Java 10: dedup
m (→Java 10: needless hardcoding) |
m (→Java 10: dedup) |
||
Line 5,716:
===Java 10===
<lang java>
import static java.util.List.of;
class GameOfLife {
Line 5,798 ⟶ 5,800:
};
var gol = new GameOfLife(board);
for (var generation : of(0, 1, 2)) {
gol = gol.
}
}
|