Page 1 of 1

guns.py

Posted: March 9th, 2018, 11:28 pm
by Majestas32
So some time ago A for Awesome gave me his tlife guns script.

I decided to post it here for 2 reasons:

1. How do I run it from cygwin?

2. Can somebody improve it?


Also all the explanation is given in the file named "explanation"

The link is at here in the "casim" folder.

Re: guns.py

Posted: March 10th, 2018, 5:59 am
by Apple Bottom
Majestas32 wrote:So some time ago A for Awesome gave me his tlife guns script.

I decided to post it here for 2 reasons:

1. How do I run it from cygwin?

2. Can somebody improve it?


Also all the explanation is given in the file named "explanation"

The link is at here in the "casim" folder.
You posted a link, using an URL shortener no less, to a Wikia page, which has another link to a downloadable archive on Mediafire, which contains a whole bunch of unrelated stuff, along with a script that would've been small enough to tack it onto your post as an attachment... why keep it simple when you can make it complicated, eh? :)

As for running it on Cygwin: pretty much the same as you'd run Python scripts anywhere else. You do have the Cygwin python package installed, right...?

Re: guns.py

Posted: March 10th, 2018, 10:00 am
by praosylen
My personal thoughts: if one is concerned about improving it, it would honestly probably be easier just to modify the script I posted to find the 2-engine Cordership at this point, and far more worthwhile in the long run — casim's not exactly well-documented and actually quite buggy as well, and Golly is much faster to run and more intuitive. I don't have the time right now to do that, but I don't know that it would be too hard for anyone that wants to.

P.S. The worst bug in casim at the moment is one that ignores S0 in isotropic-nt rules. To fix, insert

Code: Select all

                q8 = (j1, j2)
                if q8 not in tempgrid: #Needed for S0
                    tempgrid[q8] = 0
after the lines

Code: Select all

if q7 in tempgrid:
                    tempgrid[q7] += 0x80
                else:
                    tempgrid[q7] = 0x80
in CellularAutomaton.step().

Re: guns.py

Posted: March 10th, 2018, 2:53 pm
by Majestas32
When trying to search p88 in b2-a3cs12-i it returns 0 results. Halp