Skip to content

Instantly share code, notes, and snippets.

@nemilya
nemilya / dart_game_of_life.dart
Created May 28, 2021 20:44
Dart Game of Life
void main() {
var asciiMap = ".*.\n"
".*.\n"
".*.";
var game_of_life = new GameLife();
game_of_life.setWorld(asciiMap);
print(game_of_life.getWorldAsAscii());
game_of_life.step();
print("\n");
print(game_of_life.getWorldAsAscii());