Page 1 of 1

Birth-Then-Survival

Posted: June 23rd, 2010, 3:26 pm
by Extrementhusiast
I'm thinking of a variation on standard Life where birth happens in even generations, and survival/death happens on odd generations, instead of simultaneously like normal Life. This is about how it would go (comments are in parenthesis):

Code: Select all

if cellstate 0 has 3 neighbors of cellstate 1, change to cellstate 2
  else stay at cellstate 0
end

if cellstate 1 has 0 neighbors of cellstate 1, change to cellstate 2
  elseif cellstate 1 has 1 neighbor of cellstate 1, change to cellstate 2
  elseif cellstate 1 has 2 neighbors of cellstate 1, change to cellstate 2
  elseif cellstate 1 has 3 neighbors of cellstate 1, change to cellstate 2
  elseif cellstate 1 has 4 neighbors of cellstate 1, change to cellstate 2
  elseif cellstate 1 has 5 neighbors of cellstate 1, change to cellstate 2
  elseif cellstate 1 has 6 neighbors of cellstate 1, change to cellstate 2
  elseif cellstate 1 has 7 neighbors of cellstate 1, change to cellstate 2
  elseif cellstate 1 has 8 neighbors of cellstate 1, change to cellstate 2
  else change to cellstate 0
end

(a.k.a. cellstate 1 changes to cellstate 2 no matter how many neighbors it has)

if cellstate 2 has 3 neighbors of cellstate 2, change to cellstate 1
  elseif cellstate 2 has 2 neighbors of cellstate 2, change to cellstate 1
  else change to cellstate 0
end

(cellstate 0 only counts cellstate 1 neighbors, and cellstate 2 only counts cellstate 2 neighbors)
EDIT: This is the 300th topic on Conwaylife.com! Yay! :mrgreen:

Re: Birth-Then-Survival

Posted: June 23rd, 2010, 7:11 pm
by Axaj
I made a rule table of it; unfortunately, nothing of interest has shown itself. The slow and little growth of this rule seems to rule out the possibility of spaceships, unfortunately.

Code: Select all

#BTS.table
n_states:3
neighborhood:Moore
symmetries:rotate8reflect
var a={0,1,2}
var b={0,1,2}
var c={0,1,2}
var d={0,1,2}
var e={0,1,2}
var f={0,1,2}
var g={0,1,2}
var h={0,1,2}

#Birth
0,1,1,1,0,0,0,0,0,2
0,1,1,0,1,0,0,0,0,2
0,1,1,0,0,1,0,0,0,2
0,1,0,1,0,1,0,0,0,2
0,1,0,0,1,0,1,0,0,2

#Change
1,a,b,c,d,e,f,g,h,2

#Survival
2,2,2,0,0,0,0,0,0,1
2,2,0,2,0,0,0,0,0,1
2,2,0,0,2,0,0,0,0,1
2,2,0,0,0,2,0,0,0,1
2,2,2,2,0,0,0,0,0,1
2,2,2,0,2,0,0,0,0,1
2,2,2,0,0,2,0,0,0,1
2,2,0,2,0,2,0,0,0,1
2,2,0,0,2,0,2,0,0,1


#Death
2,a,b,c,d,e,f,g,h,0

Re: Birth-Then-Survival

Posted: June 23rd, 2010, 8:46 pm
by Extrementhusiast
Hmm, the rule table itself doesn't seem to work. When I try to load it in Golly, it reads, "Error reading *filepath*, one or more of n_states, neighborhood or symmetries missing before first transition". What's up with that?

Re: Birth-Then-Survival

Posted: June 23rd, 2010, 11:51 pm
by Axaj
Extrementhusiast wrote:Hmm, the rule table itself doesn't seem to work. When I try to load it in Golly, it reads, "Error reading *filepath*, one or more of n_states, neighborhood or symmetries missing before first transition". What's up with that?
Did you press "select all" to select it? That seems to cause problems. Try just manually selecting it.

Re: Birth-Then-Survival

Posted: June 24th, 2010, 1:03 pm
by Extrementhusiast
Now it works! Thank you! This also happened with a few other rule tables posted in this forum, and now I know why!

All still lifes are p2 oscillators, and "on-offs" like the beacon and cavity are also p2 oscillators, but this form

Code: Select all

1.
..
11

is also a p2 oscillator. And I just found a p6 oscillator: two state 1 blocks skewed by (1, 3). Are there any higher periods out there?

EDIT: Yes. Here are the six basic oscillators that I've found:

Code: Select all

x = 50, y = 4, rule = BTS
A4.2A4.2A.A.A.A.A.A6.2A6.2A8.3A$7.A20.A.A2.A3.2A.2A$2A3.A.A5.A.A.A.A.
A.2A4.A2.A.A5.2A3.3A$32.2A!
From left to right: a p2, another p2, an extensible p2, a p4, a p6, and a p8.

Re: Birth-Then-Survival

Posted: June 24th, 2010, 10:18 pm
by Batmanifestdestiny
I've sent this through multiple random soups, and I've yet to find any ships.

Re: Birth-Then-Survival

Posted: February 7th, 2011, 1:22 am
by Extrementhusiast
Batmanifestdestiny wrote:I've sent this through multiple random soups, and I've yet to find any ships.
Well, I have finally bothered to make a different rule, B3/S235 (with the usual restrictions), and it looks pretty interesting. Here is the rule table:

Code: Select all

#BTS-B3S235.table
n_states:3
neighborhood:Moore
symmetries:permute
var a={0,1,2}
var b={a}
var c={a}
var d={a}
var e={a}
var f={a}
var g={a}
var h={a}
var i={0,1}
var j={i}
var k={i}
var L={i}
var m={i}
var n={i}
var p={i}
var q={i}
var r={0,2}
var s={r}
var t={r}
var u={r}
var w={r}

#B3
0,1,1,1,r,s,t,u,w,2

#Change
1,a,b,c,d,e,f,g,h,2

#S0?
2,i,j,k,L,m,n,p,q,0

#S1?
2,2,i,j,k,L,m,n,p,0

#S2?
2,2,2,i,j,k,L,m,n,1

#S3?
2,2,2,2,i,j,k,L,m,1

#S4?
2,2,2,2,2,i,j,k,L,0

#S5?
2,2,2,2,2,2,i,j,k,1

#S6?
2,2,2,2,2,2,2,i,j,0

#S7?
2,2,2,2,2,2,2,2,i,0

#S8?
2,2,2,2,2,2,2,2,2,0
EDIT: Fixed a minor flaw.

Re: Birth-Then-Survival

Posted: February 12th, 2011, 12:18 am
by Extrementhusiast
A rather large pattern collection:

Code: Select all

x = 225, y = 127, rule = BTS-B3S235
4.A2.2A53.A.A$3.A3.2A55.A$4.A57.A.A$67.A.A$69.A$67.A.A$72.A.A$74.A$
21.4A47.A.A73.A$23.A.3A49.A.A66.A.A$21.3A.A53.A$24.4A49.A.A67.A.A$82.
A.A62.A$84.A$82.A.A$87.A.A$89.A$87.A.A$92.A.A$94.A$45.2A45.A.A$41.A3.
A.A49.A.A$36.A3.A5.A52.A$35.A.A3.A55.A.A$36.2A64.A.A$104.A$3.2A7.2A
88.A.A$3.2A3.A3.2A93.A.A$8.A.A98.A$3.2A3.A3.2A93.A.A$3.2A7.2A$112.2A$
112.2A60.A.A$62.2A.2A109.A$62.2A110.A.A$65.A.A23.2A129.A.A$62.2A27.A.
A128.A$4.A3.A22.A30.2A.2A25.2A38.A.A87.A.A$3.2A3.2A20.A.A66.A.A80.A.A
$4.A3.A22.2A66.A32.3A49.A$.A97.A.A80.A.A$3A211.A.A$30.A22.A160.A$29.A
.A19.A3.A158.A.A$51.A.A.A134.A.A$3A189.A$.A15.A85.A86.A.A$16.3A10.A.A
70.A.A101.A.A$30.A72.2A5.A.A93.A$110.A95.A.A$110.A.A86.2A$16.3A9.2A
10.2A$17.A10.A.A9.A158.A$10.A3.A14.A11.A$9.2A3.2A21.2A3.2A$10.A3.A22.
A.A$40.A$40.A$127.A.A$100.A$54.2A.2A40.A.A25.3A$54.2A.A2.A38.A.A5.A.A
$58.A2.A38.A6.A$54.2A.A2.A46.A.A$54.2A.2A3$29.2A2$27.A2.A6.A$27.A.A7.
2A$40.2A$41.A6.A36.A$84.A.A$48.2A35.A123.A.A2$94.A.A112.3A$94.A$94.A.
A$122.A.A84.A.A$57.2A$122.3A84.3A$57.A6.A.A$11.A52.A$10.A53.A.A142.A.
A$9.A.A$209.3A$31.2A5.A130.A.A$31.2A4.2A6.2A122.A$38.A6.2A122.A.A37.A
.A2$16.A.A190.3A$24.A.A121.A.A$16.3A4.A.2A121.A$23.A3.A120.A.A58.A.A
2$209.3A$127.A.A$127.A$127.A.A79.A.A2$118.A90.3A$117.A.A$118.2A$209.A
.A2$209.3A3$209.A.A2$209.3A3$209.A.A2$209.3A3$209.A.A2$158.2A7.A.A7.A
.A29.3A$167.A9.A$159.A7.A.A7.A.A$162.A.A7.A.A7.A.A23.2A.2A$162.A9.A9.
A25.2A.2A$162.A.A7.A.A7.A.A!
I think that infinite growth is possible, due to the partial replicator (shown several times in the collection), in which two or more could be combined to make a glider gun, in the style of Gosper's original GoL gun.