ConwayLife.com - A community for Conway's Game of Life and related cellular automata
Home  •  LifeWiki  •  Forums  •  Download Golly

Antimatter

For discussion of other cellular automata.

Antimatter

Postby Entity Valkyrie » October 4th, 2018, 7:59 am

New rule: Antimatter.

@RULE Antimatter

@TABLE
n_states:9
neighborhood:Moore
symmetries:permute

# 0: empty space
# 1: matter
# 2: antimatter
# 3: energy
# 4: photon 1
# 5: photon 2
# 6: photon 3
# 7: charged matter
# 8: charged antimatter

var a = {0,4,5}
var b = a
var c = b
var d = c
var e = d
var f = e
var g = f
var h = g
var i = {0,1,2,3,4,5,6}
var j = i
var k = j
var l = k
var m = l
var n = m
var o = n
var p = o
var q = {0,1,2,3,5,6}
var r = q
var s = r
var t = s
var u = t
var v = {1,2}
var w = {4,5,6}
var x = {7,8}
var y = x
var z = y
var aa = z
var bb = aa
var cc = bb
var dd = cc
var ee = dd



0, 1,1,1,a,b,c,d,e, 1
0, 2,2,2,a,b,c,d,e, 2

1, a,b,c,d,e,f,g,h, 0
1, 1,a,b,c,d,e,f,g, 0
1, 1,1,1,1,a,b,c,d, 0
1, 1,1,1,1,1,a,b,c, 0
1, 1,1,1,1,1,1,a,b, 0
1, 1,1,1,1,1,1,1,a, 0
1, 1,1,1,1,1,1,1,1, 0

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

1, i,j,k,l,m,n,o,w, 7
2, i,j,k,l,m,n,o,w, 8

7, i,j,k,l,m,n,o,p, 1
8, i,j,k,l,m,n,o,p, 2

i, j,k,l,m,n,o,p,x, 0
i, j,k,l,m,n,o,y,x, 0
i, j,k,l,m,n,z,y,x, 0
i, j,k,l,m,aa,z,y,x, 0
i, j,k,l,bb,aa,z,y,x, 0
i, j,k,cc,bb,aa,z,y,x, 0
i, j,dd,cc,bb,aa,z,y,x, 0
i, ee,dd,cc,bb,aa,z,y,x, 0


v, 3,j,k,l,m,n,o,p, 0
v, 3,3,k,l,m,n,o,p, 0
v, 3,3,3,l,m,n,o,p, 0
v, 3,3,3,3,m,n,o,p, 0
v, 3,3,3,3,3,n,o,p, 0
v, 3,3,3,3,3,3,o,p, 0
v, 3,3,3,3,3,3,3,p, 0
v, 3,3,3,3,3,3,3,3, 0

0, 1,1,2,a,b,c,d,e, 3
0, 1,2,2,a,b,c,d,e, 3

3, i,j,k,l,m,n,o,p, 5
0, 3,a,b,c,d,e,f,g, 4

4, i,j,k,l,m,n,o,p, 0

5, i,j,k,l,m,n,o,p, 0

0, 4,0,0,0,0,0,0,0, 4
0, 4,4,0,0,0,0,0,0, 5
0, 4,4,4,0,0,0,0,0, 6

0, 4,5,0,0,0,0,0,0, 5
0, 4,5,6,0,0,0,0,0, 6

6, i,j,k,l,m,n,o,p, 0





@COLORS

1 0 192 254
2 254 64 0
3 254 254 254
4 254 0 254
5 192 0 128
6 128 0 192
7 153 204 254
8 254 153 153


# 0: empty space
# 1: matter
# 2: antimatter
# 3: energy
# 4: photon 1
# 5: photon 2
# 6: photon 3
# 7: charged matter
# 8: charged antimatter

When {1} and {2} react, it makes {3}. 1 cell of {3} will create 3 photons (made of {4}s, {5}s and {6}s) in each of 4 diagonal directions. When it hits matter or antimatter, it will convert it into the charged form ({7} and {8}), which will kill all cells around it and convert back to its uncharged form.
User avatar
Entity Valkyrie
 
Posts: 150
Joined: November 30th, 2017, 3:30 am

Re: Antimatter

Postby KittyTac » October 4th, 2018, 8:33 am

Matter and antimatter sticks together. Is this intended?

Gun:
x = 13, y = 14, rule = Antimatter
$8.H$.DE3.G.H$.E4.G2.G$6.G2$5.E.E$3.G3.E$4.H.D2.HGH$8.G3.H$4.H$5.G$5.
H!

Rake:
x = 27, y = 33, rule = Antimatter
3$11.ED$12.E2$3.2ED$5.E$5.F$8.D2E$5.F.D$5.ED5.D6.F$5.E6.2DE4.E$3.2E7.
E6.D$3.D7.E6.E$3.E6.E7.D$9.E7.D$7.2E7.D$7.E7.D$7.E6.D$13.D$12.D$11.D$
9.ED$7.ED$4.FED!

Semi-reflector:
x = 27, y = 20, rule = Antimatter:T200,200
6.H9.E$2.G3.G$2.H3.H7.FE.G$17.H2$15.H$15.2G4.G3.H$16.H4.2G2.H$23.H.H$
16.D.D5.G$6.D2E7.3D2.H$6.D6.E6.H$8.E4.E9.H$6.H6.DEF7.H$7.G$5.H.HG$.H
3.G3.H3.HG$.G2.H4.H$10.G!
User avatar
KittyTac
 
Posts: 530
Joined: December 21st, 2017, 9:58 am

Re: Antimatter

Postby jimmyChen2013 » October 7th, 2018, 8:36 am

I like this rule

simple spinski (you-know-who, and I can't pell) gen:
x = 4, y = 4, rule = Antimatter:T200,200
D$.D$2.D$3.D!
Failed Replicator!
x = 4, y = 4, rule = B34ce5cen67c8/S2-i3-jqry4cent5j67c8
bo$obo$bobo$2bo!

(That I wish was not failed D:)
User avatar
jimmyChen2013
 
Posts: 103
Joined: December 11th, 2017, 3:28 am

Re: Antimatter

Postby Entity Valkyrie » November 2nd, 2018, 5:51 pm

KittyTac wrote:Matter and antimatter sticks together. Is this intended?

Gun:
x = 13, y = 14, rule = Antimatter
$8.H$.DE3.G.H$.E4.G2.G$6.G2$5.E.E$3.G3.E$4.H.D2.HGH$8.G3.H$4.H$5.G$5.
H!

Rake:
x = 27, y = 33, rule = Antimatter
3$11.ED$12.E2$3.2ED$5.E$5.F$8.D2E$5.F.D$5.ED5.D6.F$5.E6.2DE4.E$3.2E7.
E6.D$3.D7.E6.E$3.E6.E7.D$9.E7.D$7.2E7.D$7.E7.D$7.E6.D$13.D$12.D$11.D$
9.ED$7.ED$4.FED!

Semi-reflector:
x = 27, y = 20, rule = Antimatter:T200,200
6.H9.E$2.G3.G$2.H3.H7.FE.G$17.H2$15.H$15.2G4.G3.H$16.H4.2G2.H$23.H.H$
16.D.D5.G$6.D2E7.3D2.H$6.D6.E6.H$8.E4.E9.H$6.H6.DEF7.H$7.G$5.H.HG$.H
3.G3.H3.HG$.G2.H4.H$10.G!


I couldn't fix this bug. When a charged Matter of Antimatter touches any non-charged one, it imediately discharges. The ones on the top work because there are no non-charged ones. Annhilation only happens in non-charged.
User avatar
Entity Valkyrie
 
Posts: 150
Joined: November 30th, 2017, 3:30 am


Return to Other Cellular Automata

Who is online

Users browsing this forum: Saka and 4 guests