interesting! Hadnt seen sigbla before - nice use.
Just curious,
// Add some logic to detect when we're stuck in a loop
boards.add(conway.map { true in it }.toList().hashCode())
…
if (boards.size < 5) {
// Stuck in loop, add some randomness
What do you mean with stuck in a loop? Is it where the game reaches a state where its cycling continuously through the same variations repeatedly?