Rule request thread

For discussion of other cellular automata.
HelicopterCat3
Posts: 258
Joined: October 16th, 2020, 10:27 am

Re: Rule request thread

Post by HelicopterCat3 » January 14th, 2021, 12:35 pm

Schiaparelliorbust wrote:
January 14th, 2021, 8:22 am
HelicopterCat3 wrote:
January 9th, 2021, 11:11 pm
I was thinking of a CA where all reactions require energy cells to cause them. Any spaceship or oscillator would need some energy cells to work. There could be photosynthetic cells that create an energy cell if there are 7 or 8 photosynthetic cells around an empty space. "Carnivorous" or animal cells or heterotrophic cells I guess are able to turn the photosynthetic cells into energy if they surround the photosynthetic cell with 3 of itself. Energy could also come into existence if the heterotrophic cells die of overpopulation and decompose. I don't even know if spaceships could be formed, but oscillators could be formed. The "plant" cells could have the rule B34/S12 and the "animal" cells could have B3/S23.
Energy would basically be used for growth so whatever kind of cell that the energy cell is touching, is what the energy cell turns into.

Sorry for the long and complicated request I just didn't quite know how to approach making something like this.
I think the photosynthetic cells should be able to hold energy until they reproduce. After they reproduce, which should require all three photosynthetic cells to have energy, they would not have energy for one generation. I don't like there being free-standing energy cells. I don't know which photosynthesizing cells animals should eat though.
Maybe we should just have Conway's Life, but cells need energy to reproduce like in real life. I was thinking we could approach this by requiring at least one cell of the 3 needed for birth to be "charged" represented by a different state. So, every pattern is a still life unless there's energy. Energy could come into existence by having "charged" cells be born by born by the B3, or by cells dying and turning into usable energy. And cells touching this usable energy then become "charged". So there would be 3 states and dead state. Life cell, "Charged" Life cell, and Energy.

Schiaparelliorbust
Posts: 3686
Joined: July 22nd, 2020, 9:50 am
Location: Acidalia Planitia

Re: Rule request thread

Post by Schiaparelliorbust » January 14th, 2021, 12:47 pm

HelicopterCat3 wrote:
January 14th, 2021, 12:35 pm
Maybe we should just have Conway's Life, but cells need energy to reproduce like in real life. I was thinking we could approach this by requiring at least one cell of the 3 needed for birth to be "charged" represented by a different state. So, every pattern is a still life unless there's energy. Energy could come into existence by having "charged" cells be born by born by the B3, or by cells dying and turning into usable energy. And cells touching this usable energy then become "charged". So there would be 3 states and dead state. Life cell, "Charged" Life cell, and Energy.
I like both ideas with animals and plant cells and the only CGoL one. I think the latter is simpler. Cells can eat dead (let's call them decaying from now on to avoid confusion) cells around them. There would be 4 states in this case: Live, charged, decaying, and dead. How should live cells eat decaying cells?
(You double posted btw.)
Off topic: Can you please look at the alien biosphere thread?
Hunting's language (though he doesn't want me to call it that)
Board And Card Games
Colorised CA
Alien Biosphere

HelicopterCat3
Posts: 258
Joined: October 16th, 2020, 10:27 am

Re: Rule request thread

Post by HelicopterCat3 » January 14th, 2021, 11:36 pm

Schiaparelliorbust wrote:
January 14th, 2021, 12:47 pm
HelicopterCat3 wrote:
January 14th, 2021, 12:35 pm
Maybe we should just have Conway's Life, but cells need energy to reproduce like in real life. I was thinking we could approach this by requiring at least one cell of the 3 needed for birth to be "charged" represented by a different state. So, every pattern is a still life unless there's energy. Energy could come into existence by having "charged" cells be born by born by the B3, or by cells dying and turning into usable energy. And cells touching this usable energy then become "charged". So there would be 3 states and dead state. Life cell, "Charged" Life cell, and Energy.
I like both ideas with animals and plant cells and the only CGoL one. I think the latter is simpler. Cells can eat dead (let's call them decaying from now on to avoid confusion) cells around them. There would be 4 states in this case: Live, charged, decaying, and dead. How should live cells eat decaying cells?
(You double posted btw.)
Off topic: Can you please look at the alien biosphere thread?
Maybe if the decaying cells are surrounded by one to eight live cells, all of the cells consume them, and all the live cells become charged. The decaying cells could have three states actually where they transition to the next level of decay each generation so that they actually decay and aren't around forever.

I didn't realize that it posted it twice for some reason? That's odd.

I will certainly!

Schiaparelliorbust
Posts: 3686
Joined: July 22nd, 2020, 9:50 am
Location: Acidalia Planitia

Re: Rule request thread

Post by Schiaparelliorbust » January 15th, 2021, 7:33 am

HelicopterCat3 wrote:
January 14th, 2021, 11:36 pm
Maybe if the decaying cells are surrounded by one to eight live cells, all of the cells consume them, and all the live cells become charged. The decaying cells could have three states actually where they transition to the next level of decay each generation so that they actually decay and aren't around forever.

I didn't realize that it posted it twice for some reason? That's odd.

I will certainly!
So they will disappear on their own. Will live cells eat everything around them? You once sent me a private message twice.
Hunting's language (though he doesn't want me to call it that)
Board And Card Games
Colorised CA
Alien Biosphere

HelicopterCat3
Posts: 258
Joined: October 16th, 2020, 10:27 am

Re: Rule request thread

Post by HelicopterCat3 » January 15th, 2021, 8:31 am

Schiaparelliorbust wrote:
January 15th, 2021, 7:33 am
HelicopterCat3 wrote:
January 14th, 2021, 11:36 pm
Maybe if the decaying cells are surrounded by one to eight live cells, all of the cells consume them, and all the live cells become charged. The decaying cells could have three states actually where they transition to the next level of decay each generation so that they actually decay and aren't around forever.

I didn't realize that it posted it twice for some reason? That's odd.

I will certainly!
So they will disappear on their own. Will live cells eat everything around them? You once sent me a private message twice.
Yes, they will eat any dying cells around them. I wonder if the normal spaceships would be possible in this rule. Spaceships and oscillators could only exist as long as charged cells carry out the birth, so new spaceships might have to be made. I think I'll take a crack at the rule table later today.

Hmmm. I think that may be some kind of connection problem or something.

Schiaparelliorbust
Posts: 3686
Joined: July 22nd, 2020, 9:50 am
Location: Acidalia Planitia

Re: Rule request thread

Post by Schiaparelliorbust » January 15th, 2021, 8:43 am

HelicopterCat3 wrote:
January 15th, 2021, 8:31 am
Yes, they will eat any dying cells around them. I wonder if the normal spaceships would be possible in this rule. Spaceships and oscillators could only exist as long as charged cells carry out the birth, so new spaceships might have to be made. I think I'll take a crack at the rule table later today.

Hmmm. I think that may be some kind of connection problem or something.
So as far as I understand, here are the transitions:
Dead->Uncharged if surrounded by exactly three live cells. Other cells don't matter.
Uncharged>Charged if it doesn't die according to B3/S23 and has at least one decaying cell around it.
(Un)charged->Decaying 1 if it dies according to B3/S23.
Decaying 1->Decaying 2
Decaying 2->Decaying 3
Decaying 3->Dead
Decaying x->Dead if surrounded by uncharged cell
Charged->Uncharged if it doesn't die according to B3/S23
All live cells are counted in neighbour count.
Hunting's language (though he doesn't want me to call it that)
Board And Card Games
Colorised CA
Alien Biosphere

HelicopterCat3
Posts: 258
Joined: October 16th, 2020, 10:27 am

Re: Rule request thread

Post by HelicopterCat3 » January 15th, 2021, 9:13 am

Schiaparelliorbust wrote:
January 15th, 2021, 8:43 am
HelicopterCat3 wrote:
January 15th, 2021, 8:31 am
Yes, they will eat any dying cells around them. I wonder if the normal spaceships would be possible in this rule. Spaceships and oscillators could only exist as long as charged cells carry out the birth, so new spaceships might have to be made. I think I'll take a crack at the rule table later today.

Hmmm. I think that may be some kind of connection problem or something.
So as far as I understand, here are the transitions:
Dead->Uncharged if surrounded by exactly three live cells. Other cells don't matter.
Uncharged>Charged if it doesn't die according to B3/S23 and has at least one decaying cell around it.
(Un)charged->Decaying 1 if it dies according to B3/S23.
Decaying 1->Decaying 2
Decaying 2->Decaying 3
Decaying 3->Dead
Decaying x->Dead if surrounded by uncharged cell
Charged->Uncharged if it doesn't die according to B3/S23
All live cells are counted in neighbour count.
Dead->Uncharged if surrounded by 3 charged cells. Uncharged cells can't give birth so they form still lives under B/S23.
Uncharged->Charged if it doesn't die according to B3/S23 and has at least one decaying cell of any state next to it.
Charged->Uncharged
Uncharged->Decaying 1 if it dies according to B3/S23.
Decaying 1->Decaying 2
Decaying 2->Decaying 3
Decaying 3-> Dead
All live cells like Uncharged and Charged count towards neighbor count.
Maybe there could be an "immortal state" that's just regular life without needing energy, or decaying upon its death, and a boundary state that just helps.

Schiaparelliorbust
Posts: 3686
Joined: July 22nd, 2020, 9:50 am
Location: Acidalia Planitia

Re: Rule request thread

Post by Schiaparelliorbust » January 15th, 2021, 9:21 am

HelicopterCat3 wrote:
January 15th, 2021, 9:13 am
Dead->Uncharged if surrounded by 3 charged cells. Uncharged cells can't give birth so they form still lives under B/S23.
Uncharged->Charged if it doesn't die according to B3/S23 and has at least one decaying cell of any state next to it.
Charged->Uncharged
Uncharged->Decaying 1 if it dies according to B3/S23.
Decaying 1->Decaying 2
Decaying 2->Decaying 3
Decaying 3-> Dead
All live cells like Uncharged and Charged count towards neighbor count.
Maybe there could be an "immortal state" that's just regular life without needing energy, or decaying upon its death, and a boundary state that just helps.
So you don't want charged to die directly. It needs to turn into uncharged first. Let's also call this rule Cannibalism.
Hunting's language (though he doesn't want me to call it that)
Board And Card Games
Colorised CA
Alien Biosphere

HelicopterCat3
Posts: 258
Joined: October 16th, 2020, 10:27 am

Re: Rule request thread

Post by HelicopterCat3 » January 15th, 2021, 9:28 am

Schiaparelliorbust wrote:
January 15th, 2021, 9:21 am
HelicopterCat3 wrote:
January 15th, 2021, 9:13 am
Dead->Uncharged if surrounded by 3 charged cells. Uncharged cells can't give birth so they form still lives under B/S23.
Uncharged->Charged if it doesn't die according to B3/S23 and has at least one decaying cell of any state next to it.
Charged->Uncharged
Uncharged->Decaying 1 if it dies according to B3/S23.
Decaying 1->Decaying 2
Decaying 2->Decaying 3
Decaying 3-> Dead
All live cells like Uncharged and Charged count towards neighbor count.
Maybe there could be an "immortal state" that's just regular life without needing energy, or decaying upon its death, and a boundary state that just helps.
So you don't want charged to die directly. It needs to turn into uncharged first. Let's also call this rule Cannibalism.
That's a good name. We could make another version of this rule where there are two of these groups of states, but instead of eating themselves decaying, they could eat the other group of states that's decaying. We could call that rule Scavengers

Schiaparelliorbust
Posts: 3686
Joined: July 22nd, 2020, 9:50 am
Location: Acidalia Planitia

Re: Rule request thread

Post by Schiaparelliorbust » January 15th, 2021, 9:29 am

HelicopterCat3 wrote:
January 15th, 2021, 9:28 am
That's a good name. We could make another version of this rule where there are two of these groups of states, but instead of eating themselves decaying, they could eat the other group of states that's decaying. We could call that rule Scavengers
That also sounds interesting. Is what I said correct or not?
Hunting's language (though he doesn't want me to call it that)
Board And Card Games
Colorised CA
Alien Biosphere

HelicopterCat3
Posts: 258
Joined: October 16th, 2020, 10:27 am

Re: Rule request thread

Post by HelicopterCat3 » January 15th, 2021, 11:04 am

Schiaparelliorbust wrote:
January 15th, 2021, 9:29 am
HelicopterCat3 wrote:
January 15th, 2021, 9:28 am
That's a good name. We could make another version of this rule where there are two of these groups of states, but instead of eating themselves decaying, they could eat the other group of states that's decaying. We could call that rule Scavengers
That also sounds interesting. Is what I said correct or not?
Yes it is.

HelicopterCat3
Posts: 258
Joined: October 16th, 2020, 10:27 am

Re: Rule request thread

Post by HelicopterCat3 » January 16th, 2021, 1:45 pm

Here's Cannibalism:

Code: Select all

@RULE Cannibalism

#State 0: Dead
#State 1: No energy, can't reproduce, B/S23
#State 2: Energized, B3/S23
#State 3: Decaying 1
#State 4: Decaying 2
#State 5: Decaying 3

#Transitions:

#Dead->Charged if surrounded by 3 charged cells. 
#Uncharged cells can't give birth so they form still lives under B/S23.
#Uncharged->Charged if it doesn't die according to B3/S23 and has at least one decaying cell of any state next to it.
#Charged->Uncharged
#Uncharged->Decaying 1 if it dies according to B3/S23.
#Decaying 1->Decaying 2
#Decaying 2->Decaying 3
#Decaying 3->Dead
#All live cells like Uncharged and Charged count towards neighbor count.

@TABLE

n_states:6
neighborhood:Moore
symmetries:permute

var a={1,2}
var aa=a
var ab=a
var ac=a
var ad=a
var ae=a
var af=a
var ag=a
var b={0,3,4,5}
var ba=b
var bb=b
var bc=b
var bd=b
var be=b
var bf=b
var bg=b
var c={0,1,2,3,4,5}
var ca=c
var cb=c
var cc=c
var cd=c
var ce=c
var cf=c
var cg=c
var d={3,4}
var da=d
var db=d
var b2={0,3,4}
var b2a=b2
var b2b=b2
var b2c=b2
var b2d=b2


#Birth
be,2,a,aa,b,ba,bb,bc,bd,2

#Survival/Death/Energy Loss
1,b,0,0,0,0,0,0,0,3
1,a,b,0,0,0,0,0,0,3
a,aa,ab,b,0,0,0,0,0,1
a,aa,ab,ac,b,0,0,0,0,1
1,a,aa,ab,ac,b,0,0,0,3
1,a,aa,ab,ac,ad,b,0,0,3
1,a,aa,ab,ac,ad,ae,b,0,3
1,a,aa,ab,ac,ad,ae,af,b,3
1,a,aa,ab,ac,ad,ae,af,ag,3
2,c,ca,cb,cc,cd,ce,cf,cg,1

#Decay/Energy Gain

3,c,ca,cb,cc,cd,ce,cf,cg,4
4,c,ca,cb,cc,cd,ce,cf,cg,5
5,c,ca,cb,cc,cd,ce,cf,cg,0

1,d,da,db,b2,b2a,b2b,b2c,b2d,2

@COLORS

0   0 100   0
1 255 150   0
2 255 255   0
3 175  75   0
4 100  75   0
5  75 100   0
Surprisingly, this rule is explosive.
I've dubbed the spaceships, "Tribes" as they are groups of cells that sustain themselves while maintaining a nomadic life style.

Here are all of the transitions:

Code: Select all

x = 58, y = 3, rule = Cannibalism
3C2.2C3.2C3.2C3.2C3.2C2.C11.A4.A4.A4.B$CAC2.CAC2.CA3.CA3.CA3.CA2.CA2.
CA6.2A3.AB3.2B3.2B$3C2.3C2.3C2.2C3.C!
Here's the standard Tribe:

Code: Select all

x = 6, y = 5, rule = Cannibalism
3.CA$C4AB$4.DA$C4AB$3.CA!
No oscillators yet.

Schiaparelliorbust
Posts: 3686
Joined: July 22nd, 2020, 9:50 am
Location: Acidalia Planitia

Re: Rule request thread

Post by Schiaparelliorbust » January 16th, 2021, 1:58 pm

HelicopterCat3 wrote:
January 16th, 2021, 1:45 pm
Cannibalism
I must say that is quite an interesting rule! You should use genfind to find more spaceships. Can you also please look at the alien biosphere thread?
Edit: I've noticed something. Actually two things:
1)Uncharged cells don't become charged when surrounded by decaying ones:

Code: Select all

x = 12, y = 6, rule = Cannibalism
3$3.A.A.A$3.C.D.E!
2)Not all cells giving birth need to be charged to succeed:

Code: Select all

x = 15, y = 7, rule = Cannibalism
4$2.BAB.B2A.ABA!
Hunting's language (though he doesn't want me to call it that)
Board And Card Games
Colorised CA
Alien Biosphere

User avatar
FWKnightship
Posts: 1464
Joined: June 23rd, 2019, 3:10 am
Location: Hey,wait!! Where am I!? Help! Somebody help!I'm lost!!

Re: Rule request thread

Post by FWKnightship » January 16th, 2021, 10:23 pm

P4,P5:

Code: Select all

x = 25, y = 48, rule = Cannibalism
2.A.2A11.2A$2.2A.3A9.A.6A$.3A.2A10.A.E4.A$.A5.A9.A.BDBEA$2.2A.3A9.A.D
.D.A$.3A.2A10.AEBDB.A$3.2A.A9.A4.E.A$16.6A.A$22.2A2$4.A$3.2A.2A$.A2.A
.A$.2A.2A2.A$3.A2.4A$4A2.A$.A2.2A.2A$3.A.A2.A$2.2A.2A$5.A4$3.3A$3.A2.
A$5.2A$4.2A$5.2A$3.A2.A$3.3A4$.2A.A.2A$.A.3A.A$3.A.A$3.A.A$2.2A.2A4$.
3A2.2A$.A2.2A.A$2.A2.A.A$.3A.3A$.A.A2.A$.A.2A2.A$.2A2.3A!
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'FWKnightship' object has no attribute 'signature'

Schiaparelliorbust
Posts: 3686
Joined: July 22nd, 2020, 9:50 am
Location: Acidalia Planitia

Re: Rule request thread

Post by Schiaparelliorbust » January 17th, 2021, 2:53 pm

Schiaparelliorbust wrote:
January 16th, 2021, 1:58 pm
Edit: I've noticed something. Actually two things:
1)Uncharged cells don't become charged when surrounded by decaying ones:

Code: Select all

x = 12, y = 6, rule = Cannibalism
3$3.A.A.A$3.C.D.E!
2)Not all cells giving birth need to be charged to succeed:

Code: Select all

x = 15, y = 7, rule = Cannibalism
4$2.BAB.B2A.ABA!
Hunting's language (though he doesn't want me to call it that)
Board And Card Games
Colorised CA
Alien Biosphere

HelicopterCat3
Posts: 258
Joined: October 16th, 2020, 10:27 am

Re: Rule request thread

Post by HelicopterCat3 » January 17th, 2021, 2:57 pm

Schiaparelliorbust wrote:
January 17th, 2021, 2:53 pm
Schiaparelliorbust wrote:
January 16th, 2021, 1:58 pm
Edit: I've noticed something. Actually two things:
1)Uncharged cells don't become charged when surrounded by decaying ones:

Code: Select all

x = 12, y = 6, rule = Cannibalism
3$3.A.A.A$3.C.D.E!
2)Not all cells giving birth need to be charged to succeed:

Code: Select all

x = 15, y = 7, rule = Cannibalism
4$2.BAB.B2A.ABA!
This is purposeful, don't worry. In fact, I specified that you only need one charged cell and 2 uncharged to give birth. Also, they can only eat Decaying 1 and 2, not 3 because it's "too far gone". They can eat anywhere from 3-8 to get energy.

Schiaparelliorbust
Posts: 3686
Joined: July 22nd, 2020, 9:50 am
Location: Acidalia Planitia

Re: Rule request thread

Post by Schiaparelliorbust » January 17th, 2021, 3:16 pm

HelicopterCat3 wrote:
January 17th, 2021, 2:57 pm
This is purposeful, don't worry. In fact, I specified that you only need one charged cell and 2 uncharged to give birth. Also, they can only eat Decaying 1 and 2, not 3 because it's "too far gone". They can eat anywhere from 3-8 to get energy.
Oh ok, thanks for specifying. 3-8 is a good range. Can we experiment with what I said was "wrong"?
Hunting's language (though he doesn't want me to call it that)
Board And Card Games
Colorised CA
Alien Biosphere

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

Re: Rule request thread

Post by muzik » January 18th, 2021, 6:54 pm

Up until January 2013 water and lava blocks in Minecraft used cellular automata for their textures rather than animated files. Would it be possible to create a ruletable that simulates these as closely as possible?

More info can be found here: https://github.com/UnknownShadow200/Cla ... -algorithm. I'm not sure if more than 255 states would be required.

I'm not sure if nether portals or fire used a similar such form of procedural generation.

Schiaparelliorbust
Posts: 3686
Joined: July 22nd, 2020, 9:50 am
Location: Acidalia Planitia

Re: Rule request thread

Post by Schiaparelliorbust » January 19th, 2021, 12:12 pm

When are you going to make Scavengers? Not that I'm waiting or anything, just wondering.
Hunting's language (though he doesn't want me to call it that)
Board And Card Games
Colorised CA
Alien Biosphere

Cyclotrons
Posts: 129
Joined: January 26th, 2021, 12:19 am

Re: Rule request thread

Post by Cyclotrons » January 26th, 2021, 12:42 am

Could someone please optimize this rule for me?

Code: Select all

@RULE Antagonist

@TABLE
n_states:3
neighborhood:Moore
symmetries:permute
0,1,1,1,0,0,0,0,0,1
0,2,1,1,1,1,0,0,0,1
0,2,2,1,1,1,1,1,0,1
0,2,2,2,0,0,0,0,0,2
0,2,2,2,2,1,0,0,0,2
0,2,2,2,2,2,1,1,0,2
1,0,0,0,0,0,0,0,0,0
1,1,0,0,0,0,0,0,0,0
1,1,1,1,1,0,0,0,0,0
1,1,1,1,1,1,0,0,0,0
1,1,1,1,1,1,1,0,0,0
1,1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,1,0,0,0,0,0
2,2,2,1,1,1,0,0,0,0
2,2,2,1,1,1,1,0,0,0
2,2,2,1,1,1,1,1,0,1
2,2,2,1,1,1,1,1,1,0
2,2,2,2,1,1,0,0,0,0
2,2,2,2,1,1,1,0,0,0
2,2,2,2,1,1,1,1,0,0
2,2,2,2,1,1,1,1,1,0
2,2,2,2,2,0,0,0,0,0
2,2,2,2,2,1,1,1,0,0
2,2,2,2,2,1,1,1,1,0
2,2,2,2,2,2,0,0,0,0
2,2,2,2,2,2,1,0,0,0
2,2,2,2,2,2,2,0,0,0
2,2,2,2,2,2,2,1,0,0
2,2,2,2,2,2,2,1,1,0
2,2,2,2,2,2,2,2,0,0
2,2,2,2,2,2,2,2,1,0
2,2,2,2,2,2,2,2,2,0

@COLORS
0 0 0 0
1 0 0 255
2 255 0 0
I wrote a stdin script that generates random soups of a provided number of a given spaceship. It works for all (non-B0) spaceships in the INT rulespace!
A Multistate INT notation + script.

Schiaparelliorbust
Posts: 3686
Joined: July 22nd, 2020, 9:50 am
Location: Acidalia Planitia

Re: Rule request thread

Post by Schiaparelliorbust » January 26th, 2021, 6:09 am

Cyclotrons wrote:
January 26th, 2021, 12:42 am
Could someone please optimize this rule for me?

Code: Select all

@RULE Antagonist

@TABLE
n_states:3
neighborhood:Moore
symmetries:permute
0,1,1,1,0,0,0,0,0,1
0,2,1,1,1,1,0,0,0,1
0,2,2,1,1,1,1,1,0,1
0,2,2,2,0,0,0,0,0,2
0,2,2,2,2,1,0,0,0,2
0,2,2,2,2,2,1,1,0,2
1,0,0,0,0,0,0,0,0,0
1,1,0,0,0,0,0,0,0,0
1,1,1,1,1,0,0,0,0,0
1,1,1,1,1,1,0,0,0,0
1,1,1,1,1,1,1,0,0,0
1,1,1,1,1,1,1,1,0,0
1,1,1,1,1,1,1,1,1,0
1,2,0,0,0,0,0,0,0,0
1,2,1,0,0,0,0,0,0,0
1,2,1,1,0,0,0,0,0,0
1,2,1,1,1,1,1,0,0,0
1,2,1,1,1,1,1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,0
2,2,2,2,1,1,1,1,0,0
2,2,2,2,1,1,1,1,1,0
2,2,2,2,2,0,0,0,0,0
2,2,2,2,2,1,1,1,0,0
2,2,2,2,2,1,1,1,1,0
2,2,2,2,2,2,0,0,0,0
2,2,2,2,2,2,1,0,0,0
2,2,2,2,2,2,2,0,0,0
2,2,2,2,2,2,2,1,0,0
2,2,2,2,2,2,2,1,1,0
2,2,2,2,2,2,2,2,0,0
2,2,2,2,2,2,2,2,1,0
2,2,2,2,2,2,2,2,2,0

@COLORS
0 0 0 0
1 0 0 255
2 255 0 0
Welcome to the forums! Could you please explain the rule? Otherwise it might be harder to optimize. Also I just scribbled this pattern that produces not one but TWO MWSSs:

Code: Select all

x = 173, y = 58, rule = Antagonist
24$13.129A17$15.46B$61.34B$95.4B$99.17B!
Hunting's language (though he doesn't want me to call it that)
Board And Card Games
Colorised CA
Alien Biosphere

Cyclotrons
Posts: 129
Joined: January 26th, 2021, 12:19 am

Re: Rule request thread

Post by Cyclotrons » January 26th, 2021, 4:49 pm

Schiaparelliorbust wrote:
January 26th, 2021, 6:09 am
Welcome to the forums! Could you please explain the rule? Otherwise it might be harder to optimize. Also I just scribbled this pattern that produces not one but TWO MWSSs:

Code: Select all

x = 173, y = 58, rule = Antagonist
24$13.129A17$15.46B$61.34B$95.4B$99.17B!
Right. So basically, it's like this:
Let there be live states a and b.
Let A be the number of cells in state a neighboring any given cell.
Let B be the number of cells in state b neighboring any given cell.
Let x = A - B
A cell of type a survives when x = 2 or x = 3
A cell of type a is born when x = 3
A cell of type b survives when x = -2 or x = -3
A cell of type b is born when x = -3
I wrote a stdin script that generates random soups of a provided number of a given spaceship. It works for all (non-B0) spaceships in the INT rulespace!
A Multistate INT notation + script.

m00sehead
Posts: 9
Joined: December 15th, 2020, 10:26 am

Re: Rule request thread

Post by m00sehead » February 8th, 2021, 3:47 pm

dvgrn wrote:
January 7th, 2021, 12:09 pm
m00sehead wrote:
January 7th, 2021, 10:15 am
I have an idea for one similar to wireworld: If a dead cell is touching two heads, the dead cell becomes a wire. Other then that, it works the same as wireworld. Alternative idea: If a dead cell is touching 3 heads, the dead cell will become a wire. Otherwise, the same as wireworld.
Either of these would be just a few lines added to the current WireWorld.rule. There are only six transitions defined in WireWorld, using 14 helper variables:

Code: Select all

var a={0,1,2,3}
var b={0,1,2,3}
var c={0,1,2,3}
var d={0,1,2,3}
var e={0,1,2,3}
var f={0,1,2,3}
var g={0,1,2,3}
var h={0,1,2,3}
var i={0,2,3}
var j={0,2,3}
var k={0,2,3}
var l={0,2,3}
var m={0,2,3}
var n={0,2,3}
1,a,b,c,d,e,f,g,h,2
2,a,b,c,d,e,f,g,h,3
3,i,j,k,l,m,n,a,1,1
3,i,j,k,l,m,1,n,1,1
3,i,j,k,l,1,m,n,1,1
3,i,j,k,1,l,m,n,1,1
The "a" through "h" variables match any cell, and the "i" through "n" variables basically mean "anything but a head". We can use those for the new rule lines,.

The rule's symmetry is "rotate8", so you have to list out all the ways that two or three heads can surround a dead cell. I think that would be something like this, for the two-head option.

Code: Select all

0,a,b,i,j,k,l,m,n,1
0,a,i,b,j,k,l,m,n,1
0,a,i,j,b,k,l,m,n,1
0,a,i,j,k,b,l,m,n,1
(and all of the rest of the rule lines stay the same.)

Besides that weird detail about the symmetry being "rotate8" instead of "permute", this is a very simple adjustment to the base WireWorld rule. Give it a try and see if it works. You can write a similar but somewhat longer list of matching patterns for three-head wiremaking.
Ok, thanks. But then how do I combine the rules together? Pretty sure that I put the second part right below var n=..., but just want to make sure. Also, are .rle and .rule the same?

User avatar
toroidalet
Posts: 1514
Joined: August 7th, 2016, 1:48 pm
Location: My computer
Contact:

Re: Rule request thread

Post by toroidalet » February 8th, 2021, 4:00 pm

Yes, just paste them below the other transition lines.
m00sehead wrote:
February 8th, 2021, 3:47 pm
Also, are .rle and .rule the same?
No, it's just a coincidence. RLE stands for Run Length Encoding, which just means that a run of n live cells or dead cells is abbreviated as no/nb.
Any sufficiently advanced software is indistinguishable from malice.

m00sehead
Posts: 9
Joined: December 15th, 2020, 10:26 am

Re: Rule request thread

Post by m00sehead » February 9th, 2021, 3:58 pm

toroidalet wrote:
February 8th, 2021, 4:00 pm
Yes, just paste them below the other transition lines.
m00sehead wrote:
February 8th, 2021, 3:47 pm
Also, are .rle and .rule the same?
No, it's just a coincidence. RLE stands for Run Length Encoding, which just means that a run of n live cells or dead cells is abbreviated as no/nb.
Ok, thank you. Just one more thing: where can I run .rule files? Both lifeviewer and golly (or at least the webapp version of golly) can't run .rule.

Post Reply