Algorithm 如何在康威的人生游戏中摆脱稳定模式?

Algorithm 如何在康威的人生游戏中摆脱稳定模式?,algorithm,logic,automata,conways-game-of-life,Algorithm,Logic,Automata,Conways Game Of Life,我创建了康威的生命游戏,它运行良好,但我的游戏经过几代人的发展,要么以没有生命结束,要么达到一种无法逃避的稳定模式 例如,我遵守了这些规则 Any live cell with fewer than two live neighbours dies, as if by underpopulation. (live_cell = True and neighourhood < 2) Any live cell with two or three live neighbou

我创建了康威的生命游戏,它运行良好,但我的游戏经过几代人的发展,要么以没有生命结束,要么达到一种无法逃避的稳定模式

例如,我遵守了这些规则

Any live cell with fewer than two live neighbours dies, as if by underpopulation. 
         (live_cell = True and neighourhood < 2)
Any live cell with two or three live neighbours lives on to the next generation. 
         (live_cell = True and neighourhood == 2 or neighourhood == 3)
Any live cell with more than three live neighbours dies, as if by overpopulation. 
         (live_cell = True and neighourhood > 3)
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction. 
         (live_cell = False and neighourhood == 3)
这是我的程序创建的相应的邻里地图

011100
122210
124210
122210
011100
000000

在达到这种模式后,即使经过数千代人,其本身仍然停留在这种模式中。我不知道如何摆脱这种模式?

如果空间是有限的,那么可能的配置数量是有限的,然后GoL将以稳定模式或循环结束。如果空间看起来很小,那么你只会观察到愚蠢的行为。您至少需要使用更大的空间500x500,在许多地方填充1,然后查看;这是高尔夫的基本战术。下一步是构建有趣的配置,随着时间的推移,已经发现了很多,例如,请参阅。众所周知的基本模式是滑翔机、滑翔机枪、振荡器。。。您将发现GoL实际上是一种非常有趣的编程方式:初始配置是由机器执行的程序代码,您可以在屏幕上看到该程序代码的演变。但是编程并不是那么容易,特别是如果你想获得一个特定的行为

011100
122210
124210
122210
011100
000000