Rule request thread

For discussion of other cellular automata.
User avatar
unname4798
Posts: 542
Joined: July 15th, 2023, 10:27 am

Re: Rule request thread

Post by unname4798 » April 25th, 2024, 8:03 am

Rule request: TBlockLife but cells survive regardless of other cell types.

User avatar
confocaloid
Posts: 3117
Joined: February 8th, 2022, 3:15 pm

Re: Rule request thread

Post by confocaloid » April 27th, 2024, 4:50 am

unname4798 wrote:
April 25th, 2024, 8:03 am
Rule request: TBlockLife but cells survive regardless of other cell types.

Code: Select all

#C Ruletable untested, appended after the pattern
x = 32, y = 32, rule = testing
.A.BA.4AB.B2ABAB.3BABA2.A.AB$3.BA3.A.B.B.BABAB.B.AB2.2AB$A.BA.A2.2B5.
AB.A3.B.B.A.3B$.A.A.B3.2A.2A.BA3.A6.A.2B$BA2.A.BA.A.B3.AB.BAB.BA3.B2.
A$2ABA.A.A.2A3.B.B3.A.A.A.B.B.A$A.B.B4.B5.B3.2B.2B.2B.BABA$2.B2.A2.A
2B2.2B3.2A2.B.A2BA.B.B$3.B.B2.3BA.2BA2.A6.A3.A$.BA4.B2.5B.B.BA.2BA3.A
.2A$BAB7.A2.2B2.2B.B2.B2ABAB.BA$ABA4.A.A5.A.A.B2.2AB2.AB.BA$2.B3.B3.A
B2.A.AB.AB2.BAB3.B$A4.A2.A2BA.2A.A2.B2.BA.2A.A.2B$3.2A2.B3AB2.B2.A2B.
A3.2A2.B.B$.2ABA3.A3.ABA3.A.2B4.ABA2.B$B2.ABA2B2.AB2.BA.BA.A.A2.BA.B$
A2.B.B2.2B.2A.B2.A.A.4A.B2.2B$B.BA2.BA6.ABA.2AB.A.A2.2A.B$.A2.A.B3.2A
B3.B2.A5.BA.B.A$2.2B.A2.3B2.AB3A.B3.2BA.AB.A$2.A.2A5.A.2B3.AB4.A4.2A$
4.2BA2.A4.A.2B2.BA2.B2A.AB.A$4.BA.B3.2A.ABA2.2B2.B.B3.B$.B2A.A2.A.A.B
.A2.A.B.5B2.3BA$2B.B2.B.2B.A.2BA.3B2.A.B.B.2B.A$.2BA.A6.B2.B.3BA.2BA.
B2.A.A$2B2A3.A3.A.B4.BA.2B.BA4.2B$BAB2.2A3.BAB.ABAB.2A.AB.B2.2A2B$A2.
B2.B4.A2B.B5.3BA2.BA2.B$2B.3B2A.A.A2.AB.B7.A.B2.A$2.B.2A2.BA.2A.A2.A.
A.2A.A4.B!

@RULE testing

An attempt to implement https://conwaylife.com/forums/viewtopic.php?p=183409#p183409
See also https://conwaylife.com/forums/viewtopic.php?p=164920#p164920

state 1: "approximately B3/S23"
state 2: "approximately B3/S2-i34q"
birth by majority (always unambiguous: two alive cellstates, three alive neighbours)
when an alive cell survives due to S3a, it changes to the other alive state
when deciding whether an alive cell survives, neighbours of the other alive state are treated as dead

@TABLE

n_states:3
neighborhood:Moore
symmetries:rotate4reflect

var a1={0,1}
var a2=a1
var a3=a1
var a4=a1
var a5=a1
var a6=a1
var b1={0,2}
var b2=b1
var b3=b1
var b4=b1
var b5=b1
var b6=b1
var c1={1,2}
var c2=c1
var x={0,1,2}
var x1=x
var x2=x
var x3=x
var x4=x
var x5=x
var x6=x
var x7=x
var x8=x

# Birth rules (only when there are =3 alive neighbours):
# * a state-1 cell is born when there are at least 2 state-1 neighbours
# * a state-2 cell is born when there are at least 2 state-2 neighbours
# The case "all three alive neighbours have the same state"
# doesn't need to be listed as a separate rule,
# because variables c1, c2 vary independently from each other
# and the outcome is the same in the 2:1 and 3:0 cases.

0,c1,c1,c2, 0, 0, 0, 0, 0,c1  # B3a
0,c1,c2,c1, 0, 0, 0, 0, 0,c1  # same rule, different colouring

0,c1,c1, 0,c2, 0, 0, 0, 0,c1  # B3n
0,c1,c2, 0,c1, 0, 0, 0, 0,c1  # same rule, different colouring
0,c2,c1, 0,c1, 0, 0, 0, 0,c1  # same rule, different colouring

0,c1,c1, 0, 0,c2, 0, 0, 0,c1  # B3r
0,c1,c2, 0, 0,c1, 0, 0, 0,c1  # same rule, different colouring
0,c2,c1, 0, 0,c1, 0, 0, 0,c1  # same rule, different colouring

0,c1,c1, 0, 0, 0,c2, 0, 0,c1  # B3q
0,c1,c2, 0, 0, 0,c1, 0, 0,c1  # same rule, different colouring
0,c2,c1, 0, 0, 0,c1, 0, 0,c1  # same rule, different colouring

0,c1,c1, 0, 0, 0, 0,c2, 0,c1  # B3j
0,c1,c2, 0, 0, 0, 0,c1, 0,c1  # same rule, different colouring
0,c2,c1, 0, 0, 0, 0,c1, 0,c1  # same rule, different colouring

0,c2,c1, 0, 0, 0, 0, 0,c1,c1  # B3i
0,c1,c2, 0, 0, 0, 0, 0,c1,c1  # same rule, different colouring

0,c1, 0,c1, 0,c2, 0, 0, 0,c1  # B3e
0,c1, 0,c2, 0,c1, 0, 0, 0,c1  # same rule, different colouring

0,c1, 0,c1, 0, 0,c2, 0, 0,c1  # B3k
0,c1, 0,c2, 0, 0,c1, 0, 0,c1  # same rule, different colouring

0, 0,c1, 0,c1, 0,c2, 0, 0,c1  # B3c
0, 0,c1, 0,c2, 0,c1, 0, 0,c1  # same rule, different colouring

0, 0,c1, 0, 0,c1, 0, 0,c2,c1  # B3y
0, 0,c1, 0, 0,c2, 0, 0,c1,c1  # same rule, different colouring

# Survival rules (cellstate 1, =2 alive neighbours)
1, 1, 1,b1,b2,b3,b4,b5,b6, 1  # S2a
1, 1,b1, 1,b2,b3,b4,b5,b6, 1  # S2e
1, 1,b1,b2, 1,b3,b4,b5,b6, 1  # S2k
1, 1,b1,b2,b3, 1,b4,b5,b6, 1  # S2i
1,b1, 1,b2, 1,b3,b4,b5,b6, 1  # S2c
1,b1, 1,b2,b3,b4, 1,b5,b6, 1  # S2n

# Survival rules (cellstate 1, =3 alive neighbours)
1, 1, 1, 1,b1,b2,b3,b4,b5, 2  # state-1 surviving due to S3a becomes state-2
1, 1, 1,b1, 1,b2,b3,b4,b5, 1  # S3n
1, 1, 1,b1,b2, 1,b3,b4,b5, 1  # S3r
1, 1, 1,b1,b2,b3, 1,b4,b5, 1  # S3q
1, 1, 1,b1,b2,b3,b4, 1,b5, 1  # S3j
1, 1, 1,b1,b2,b3,b4,b5, 1, 1  # S3i
1, 1,b1, 1,b2, 1,b3,b4,b5, 1  # S3e
1, 1,b1, 1,b2,b3, 1,b4,b5, 1  # S3k
1,b1, 1,b2, 1,b3, 1,b4,b5, 1  # S3c
1,b1, 1,b2,b3, 1,b4,b5, 1, 1  # S3y

# Survival rules (cellstate 2, =2 alive neighbours)
2, 2, 2,a1,a2,a3,a4,a5,a6, 2  # S2a
2, 2,a1, 2,a2,a3,a4,a5,a6, 2  # S2e
2, 2,a1,a2, 2,a3,a4,a5,a6, 2  # S2k
2, 2,a1,a2,a3, 2,a4,a5,a6, 0  # D2i
2,a1, 2,a2, 2,a3,a4,a5,a6, 2  # S2c
2,a1, 2,a2,a3,a4, 2,a5,a6, 2  # S2n

# Survival rules (cellstate 2, =3 alive neighbours)
2, 2, 2, 2,a1,a2,a3,a4,a5, 1  # state-2 surviving due to S3a becomes state-1
2, 2, 2,a1, 2,a2,a3,a4,a5, 2  # S3n
2, 2, 2,a1,a2, 2,a3,a4,a5, 2  # S3r
2, 2, 2,a1,a2,a3, 2,a4,a5, 2  # S3q
2, 2, 2,a1,a2,a3,a4, 2,a5, 2  # S3j
2, 2, 2,a1,a2,a3,a4,a5, 2, 2  # S3i
2, 2,a1, 2,a2, 2,a3,a4,a5, 2  # S3e
2, 2,a1, 2,a2,a3, 2,a4,a5, 2  # S3k
2,a1, 2,a2, 2,a3, 2,a4,a5, 2  # S3c
2,a1, 2,a2,a3, 2,a4,a5, 2, 2  # S3y

# Survival rules (cellstate 2, =4 alive neighbours)
2, 2, 2, 2,a1,a2, 2,a3,a4, 2  # S4q

# everything else goes to zero
x,x1,x2,x3,x4,x5,x6,x7,x8, 0
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.

User avatar
hotcrystal0
Posts: 2311
Joined: July 3rd, 2020, 5:32 pm
Location: United States

Re: Rule request thread

Post by hotcrystal0 » May 2nd, 2024, 10:13 pm

A rule called “IgnoranceMark” which is Ignorance but with mark states.
State 0: dead
State 1: orange
State 2: blue
State 3: mark dead
State 4: mark orange
State 5: mark blue
State 6: label (stays there until another state births on top of it)
Colors:

Code: Select all

x = 0, y = Infinity, rule = IgnM_colors
ABCDEF!

@RULE IgnM_colors

@TABLE
n_states: 7
neighborhood: Moore
symmetries: permute

@COLORS
0 0 0 0
1 255 150 0
2 0 92 255
3 255 255 255
4 255 200 140
5 76 184 255
6 255 0 0

Code: Select all

x = 192, y = 53, rule = B3/S23
33$42b4o$41b6o$40b2ob4o$41b2o3$41b2o$39bo6bo$38bo8bo$38bo8bo$38b9o3$42b
4o$41b6o$40b2ob4o$41b2o!

User avatar
b-engine
Posts: 1526
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on earth

Re: Rule request thread

Post by b-engine » May 2nd, 2024, 11:49 pm

hotcrystal0 wrote:
May 2nd, 2024, 10:13 pm

Code: Select all

x = 20, y = 12, rule = IgnoranceM
.A16.B$2.A14.B$3A14.3B$3.2F10.2F$3.2F.8C.2F$6.8C$6.8C$6.8C$6.8C$6.2C4F
2C$6.2C4F2C$6.8C!
@RULE IgnoranceM
@TABLE
n_states: 7
neighborhood: Moore
symmetries: permute
var a = {0,1,2,3,4,5,6}
var a1 = a
var a2 = a
var a3 = a
var a4 = a
var a5 = a
var a6 = a
var a7 = a
var a8 = a
var b = {0,2,3,5,6}
var b1 = b
var b2 = b
var b3 = b
var b4 = b
var c = {0,1,3,4,6}
var c1 = c
var c2 = c
var c3 = c
var c4 = c
var d = {2,5}
var d1 = d
var d2 = d
var e = {1,4}
var e1 = e
var e2 = e
var f = {0,1,2}
var g = {3,4,5}
var h = {0,3,6}
var h1 = h
var h2 = h
var i = {1,4}
var i1 = i
var i2 = i
var j = {2,5}
var j1 = j
var j2 = j
var k = {0,6}
h,d,d,d,e,e,e,h2,h1,h
k,i,i1,i2,b,b1,b2,b3,b4,1
3,i,i1,i2,b,b1,b2,b3,b4,4
k,j,j1,j2,c,c1,c2,c3,c4,2
3,j,j1,j2,c,c1,c2,c3,c4,5
e,e1,e2,a,b,b1,b2,b3,b4,e
d,d2,d1,a,c,c1,c2,c3,c4,d
f,a1,a2,a3,a4,a5,a6,a7,a8,0
g,a1,a2,a3,a4,a5,a6,a7,a8,3
@COLORS
0 0 0 0
1 255 150 0
2 0 92 255
3 255 255 255
4 255 200 140
5 76 184 255
6 255 0 0
My rules
-
100th post: 18 November 2023
1000th post: 8 March 2024
10000th post:
-
Warning: This user has grammar issues, and auto-capitalize everything he clicked.

Post Reply