DoubleLife

For discussion of other cellular automata.
Post Reply
chowa
Posts: 1
Joined: October 14th, 2017, 11:35 am

DoubleLife

Post by chowa » October 14th, 2017, 2:45 pm

This 4-state automaton emulates two independent life worlds:

Code: Select all

@RULE DoubleLife

@TABLE
n_states:4
neighborhood:Moore
symmetries:permute

var a=1
var b=2
var *=3
var aon={a,*}
var bon={b,*}
var aoff={0,b}
var boff={0,a}
var any={0,a,b,*}

var c=aon
var d=c
var e=d
var f=e
var g=f
var h=g

var i=bon
var j=i
var k=j
var l=k
var m=l
var n=m

var o=aoff
var p=o
var q=o
var r=q
var s=r
var t=s

var u=boff
var v=u
var w=v
var x=w
var y=x
var z=y

var a2=any
var b2=a2
var c2=b2
var d2=c2
var e2=d2
var f2=e2
var g2=f2
var h2=g2

#3 a's, 3 b's

any,a,a,a,b,b,b,0,0,*
any,*,a,a,b,b,0,0,0,*
any,*,*,a,b,0,0,0,0,*
any,*,*,*,0,0,0,0,0,*

# 3 a's, cell empty or a
u,c,d,e,o,p,q,r,s,a


# 3 b's, cell empty or b
o,i,j,k,u,v,w,x,y,b


# 3 a's, cell b or both

# 2 b's?
bon,b,b,a,a,a,0,0,0,*
bon,*,b,a,a,0,0,0,0,*
bon,*,*,a,0,0,0,0,0,*

# 3 b's are already ruled out in first rule
# b dies
bon,c,d,e,o,p,q,r,s,a


# 3 b's, cell a or both

# 2 a's?
aon,a,a,b,b,b,0,0,0,*
aon,*,a,b,b,0,0,0,0,*
aon,*,*,b,0,0,0,0,0,*

# 3 a's already ruled out in first rule
# a dies
aon,i,j,k,u,v,w,x,y,b


# 2 a's and 2 b's
any,a,a,b,b,0,0,0,0,any
any,*,a,b,0,0,0,0,0,any
any,*,*,0,0,0,0,0,0,any

# 2 a's
aon,c,d,o,p,q,r,s,t,a

# 2 b's
bon,i,j,u,v,w,x,y,z,b

# all survival cases covered
any,a2,b2,c2,d2,e2,f2,g2,h2,0
A "shadow" effect from two close-by r-pentominoes:

Code: Select all

x = 4, y = 5, rule = DoubleLife
.2B$2.2B$2AB$.2A$.A!
Can be useful when tracking differences between patterns:

Code: Select all

x = 72, y = 71, rule = DoubleLife
$17.A$18.A$16.3A2$24.C.C$22.C3.C$14.C7.C$13.4C4.C4.C8.2C$.2C9.2C.C.C
4.C12.2C$.2C8.3C.C2.C3.C3.C$12.2C.C.C6.C.C$13.4C$14.C$23.3C$23.C.C3.
2C$22.2C5.C2.C$15.C.C5.C9.C$13.C3.C2.2C11.C6.2C$6.2C5.C10.C8.C6.2C$6.
2C4.C4.C7.2C2.C2.C$13.C7.C.C2.C2.2C$13.C3.C5.3C$15.C.C27.2C$45.C6.C$
38.C4.C.C4.3C$37.4C.3C4.C$20.2C14.2C.C.2C6.2C$12.C7.C2.C11.3C.C2.C$
11.C3.2C7.C11.2C.C.C14.2C$11.C5.C6.C12.4C15.2C$12.5C7.C7.C5.C$20.C2.C
9.C$20.2C9.3C$47.C18.2C$46.3C8.C7.C2.C$45.5C5.2C.2C8.C$44.2C3.2C17.C$
45.5C4.C5.C5.C.C$40.C4.C3.C16.C.C$38.C.C5.C.C5.2C.C.2C6.C$39.2C6.C2$
55.C8.2C3.2C$45.C9.C2.C5.C5.C$43.2C.2C7.C$58.2C5.C3.C$42.C5.C10.C6.3C
$57.C.C$42.2C.C.2C8.2C3$52.2C3.2C$52.C5.C7.3C$66.2C$53.C3.C$54.3C2$
45.2C18.C$45.2C17.3C$63.5C$62.2C3.2C$63.5C$55.2C6.C3.C$55.2C7.C.C$65.
C3$65.2C$65.2C!

User avatar
gameoflifemaniac
Posts: 1242
Joined: January 22nd, 2017, 11:17 am
Location: There too

Re: DoubleLife

Post by gameoflifemaniac » October 14th, 2017, 3:01 pm

Did you do this rule yourself? When yes, do a TripleLife rule with 8 states.
I was so socially awkward in the past and it will haunt me for the rest of my life.

Code: Select all

b4o25bo$o29bo$b3o3b3o2bob2o2bob2o2bo3bobo$4bobo3bob2o2bob2o2bobo3bobo$
4bobo3bobo5bo5bo3bobo$o3bobo3bobo5bo6b4o$b3o3b3o2bo5bo9bobo$24b4o!

User avatar
muzik
Posts: 5648
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: DoubleLife

Post by muzik » October 14th, 2017, 3:07 pm

gameoflifemaniac wrote:Did you do this rule yourself? When yes, do a TripleLife rule with 8 states.
Nah. OctupleLife and we could fill all 256 possible states.

Post Reply