コード例 #1
0
ファイル: ui.py プロジェクト: Einh06/GameOfLife_Python
def quickSimulation():
		"""
		Lunch a quick simulation.
		"""

		world = World()
		print(world)
		while True:
			time.sleep(1)
			world.iterate()
			print(world)
コード例 #2
0
ファイル: ui.py プロジェクト: Einh06/GameOfLife_Python
def quickSimulation():
    """
		Lunch a quick simulation.
		"""

    world = World()
    print(world)
    while True:
        time.sleep(1)
        world.iterate()
        print(world)