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

Problems with rule tables

Has something gone haywire? Let us know about it!

Problems with rule tables

Postby toroidalet » September 10th, 2016, 1:12 pm

This is a general thread for reporting problems with rule tables. This may belong in other cellular automata, but I don't know. What is wrong with this rule?
@RULE Repklife
@TABLE
n_states: 5
neighborhood:Moore
symmetries:none
var a={0,1,2,3,4}
var b=a
var c=a
var d=a
var e=a
var f=a
var g=a
var h=a
var i=a
var aa={0,3}
var ab=aa
var ac=aa
var ad=aa
var ae=aa
var af=aa
var ag=aa
var ah=aa
var ba={0,4}
var bb=ba
var bc=ba
var bd=ba
var be=ba
var bf=ba
var bg=ba
var bh=ba
1,1,1,0,0,0,0,0,0,2
1,1,0,1,0,0,0,0,0,2
1,1,0,0,1,0,0,0,0,2
1,1,0,0,0,1,0,0,0,2
1,1,0,0,0,0,1,0,0,2
1,1,0,0,0,0,0,1,0,2
1,1,0,0,0,0,0,0,1,2
1,0,1,1,0,0,0,0,0,2
1,0,1,0,1,0,0,0,0,2
1,0,1,0,0,1,0,0,0,2
1,0,1,0,0,0,1,0,0,2
1,0,1,0,0,0,0,1,0,2
1,0,1,0,0,0,0,0,1,2
1,0,0,1,1,0,0,0,0,2
1,0,0,1,0,1,0,0,0,2
1,0,0,1,0,0,1,0,0,2
1,0,0,1,0,0,0,1,0,2
1,0,0,1,0,0,0,0,1,2
1,0,0,0,1,1,0,0,0,2
1,0,0,0,1,0,1,0,0,2
1,0,0,0,1,0,0,1,0,2
1,0,0,0,1,0,0,0,1,2
1,0,0,0,0,1,1,0,0,2
1,0,0,0,0,1,0,1,0,2
1,0,0,0,0,1,0,0,1,2
1,0,0,0,0,0,1,1,0,2
1,0,0,0,0,0,1,0,1,2
1,0,0,0,0,0,0,1,1,2
aa,ab,ac,ad,ae,af,ag,3,ah,4
ba,bb,bc,bd,be,bf,bg,bh,4,3
2,a,b,c,d,e,f,g,h,1
aa,ab,ac,3,ad,ae,af,ag,ah,1
a,b,c,d,e,f,g,h,i,0
It is supposed to facilitate building patterns that could be generated by a repeat script, by generating them in real time. What is wrong?
EDIT: How am I so stupid? I used a variable that wasn't listed! :oops: The correct rule is now shown above.
EDIT2:State 1 and 2 cells don't emulate life. I give up.
I have the best signature ever.
User avatar
toroidalet
 
Posts: 859
Joined: August 7th, 2016, 1:48 pm
Location: Somewhere on a planet called "Earth"

Return to Bugs & Errors

Who is online

Users browsing this forum: No registered users and 1 guest