Page 1 of 1

Help

Posted: January 15th, 2024, 3:37 pm
by tommyaweosme
I need help learning how to make the complicated ones that are multistate.

Re: Help

Posted: January 15th, 2024, 5:45 pm
by haaaaaands
https://conwaylife.com/wiki/Tutorials/C ... stom_rules
see this link, it has a pretty useful tutorial
the rule table must be in code tags when posting on forums, just like the rle

edit: made wording a bit clearer :)

Re: Help

Posted: January 16th, 2024, 5:03 pm
by tommyaweosme
But I want to use these rules in the life viewer.

Re: Help

Posted: January 16th, 2024, 5:57 pm
by azulavoir
That... doesn't change anything? I followed those steps for making rules in my thread.

Re: Help

Posted: January 17th, 2024, 12:07 pm
by breaker's glider gun
tommyaweosme wrote:
January 16th, 2024, 5:03 pm
But I want to use these rules in the life viewer.
you can either put the rule table after the pattern, like this:

Code: Select all

x = 166, y = 3, rule = RuleName
A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.
B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.
A2.B2.A2.B2.A2.B2.A2.B2.A2.B$A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B
2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A
2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B$A2.B2.A2.B2.
A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.
B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.A2.B2.
A2.B2.A2.B2.A2.B!



@RULE RuleName
@COLORS

0   0   0   0
1 255 255 255
2   0 100 255
@TABLE
n_states:3
neighborhood:Moore
symmetries:permute
var l0 = {1,2}
var a0 = {0,1,2}
var d0 = {0}
var l1 = l0
var a1 = a0
var d1 = d0
var l2 = l1
var l3 = l1
var l4 = l1
var l5 = l1
var l6 = l1
var l7 = l1
var l8 = l1
var l9 = l1
var a2 = a1
var a3 = a1
var a4 = a1
var a5 = a1
var a6 = a1
var a7 = a1
var a8 = a1
var a9 = a1
var d2 = d1
var d3 = d1
var d4 = d1
var d5 = d1
var d6 = d1
var d7 = d1
var d8 = d1
var d9 = d1
var b1 = {0,2}
var b2 = b1
var b3 = b1
var b4 = b1
var b5 = b1
0, l1,l1,l3,d4,d5,d6,d7,d8, l1
0,  1, 1, 1,l4,l5,d6,d7,d8, 2
0,  2, 2, 2,l4,l5,d6,d7,d8, 1
1, a1,d2,d3,d4,d5,d6,d7,d8, 0
1, l1,l2,l3,l4,a5,a6,a7,a8, 0
2, a1,d2,d3,d4,d5,d6,d7,d8, 0
2, l1,l2,l3,l4,a5,a6,a7,a8, 0

or make the lifewiki page Rule:RuleName.
I hope this helped! I have so much fun making (absolutely useless) rules, it would be a shame if another person couldn't use theirs!