Code: Select all
@RULE StateInvestigator
@TABLE
n_states:3
neighborhood:Moore
symmetries:permute
var a={1,2}
var b={1,2}
var c={1,2}
var d={0,1,2}
var e={0,1,2}
var f={0,1,2}
var g={0,1,2}
var h={0,1,2}
var i={0,1,2}
var j={0,1,2}
0,a,b,c,0,0,0,0,0,1
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,d,e,f,g,h,i,j,0
@COLORS
1 0 236 91
2 0 192 254
- any adjacent 1 cell dies,
- 2 is always 2,
- 0 or 1 cannot become 2,
- it can influence 3-neighbour births.