I REALLY WASTED TIME!
Ok, let's instead check some reaction of a random still-life near a conduitable signal that outputs a Herschel. I could make a Python script to enumerate these reactions but -- any help?
EDIT: This is the current script, has some errors and isn't finished (yet):
Code: Select all
import golly as g
import glife as g2
from sys import exit
herschels = []
herschels.append("3o$2bo$b3o!")
herschels.append("b3o$bo$3o!")
herschels.append("o$3o$obo$2bo!")
herschels.append("2bo$3o$obo$o!")
herschels.append("b3o$2bo$3o!")
herschels.append("b3o$2bo$3o!")
herschels.append("3o$bo$b3o!")
herschels.append("o$obo$3o$2bo!")
herschels.append("2bo$obo$3o$o!")
testrect = g.getselrect();
if testrect == []:
golly.show("Select the area where the still life is placeable!")
exit(0)
stillLifes = []
def addStillLife():
while true:
stillLife = g.getstring("What still life to test for? (RLE)", "2o$2o!", "HRF v0.1")
stillLifes.append(stillLife)
addAnother = g.getstring("Add another still life? (y|n)", "n", "HRF v0.1")
if addAnother == "x" or addAnother == "X"
break
elif addAnother != "y" and addAnother != "Y"
golly.warn("Invalid letter!")
exit(0)
addStillLife()
def testReaction(xpos, ypos, sli):
g.putcells(stillLifes[sli], xpos, ypos)
this = getcells(getrect())
int i = 1;
while i < 301:
g.step()
for y in herschels:
if g.getcells(g.getrect()) == y:
return this
i++
if i == 301:
g.show("No result found at x:" + xpos + ", y:" + ypos + ", still life " + sli)
n = 0
while n < testrect[2]:
m = 0
while m < testrect[3]:
o = 0
while o < len(stillLifes):
testReaction(n + testrect[0], m + testrect[1], o)
o++
m++
n++