Golly crash
Posted: December 1st, 2017, 12:43 pm
This is the code I'm using:
When I run this script on Golly 3.0, it exits.
Code: Select all
import time, golly as g
x = int(g.getstring("Enter generation delay (in milliseconds):"))/1000
if x <= 0:
g.show("Invalid number.")
exit()
while True:
g.run(1)
time.sleep(x)