Code: Select all
@RULE cgolinhexa
Embedding experiments - CGoL into hextiles with
By NASZVADI P., 2020
@TABLE
# Format: C,a,b,c,d,e,f,C'
n_states:14
neighborhood:hexagonal
symmetries:permute
# Meanings:
# 0 = background/helper temporary state/dead
# 1,3 = alive cell
# 2,4 = empty cell
# 5,6,7,8,9,10,11,12,13 = counts connected
var a={0,1,2,3,4,5,6,7,8,9,10,11,12,13}
var b={0,1,2,3,4,5,6,7,8,9,10,11,12,13}
var c={0,1,2,3,4,5,6,7,8,9,10,11,12,13}
var d={0,1,2,3,4,5,6,7,8,9,10,11,12,13}
var e={0,1,2,3,4,5,6,7,8,9,10,11,12,13}
var f={0,1,2,3,4,5,6,7,8,9,10,11,12,13}
var g={1,2}
var h={1,2}
var i={3,4}
var j={3,4}
0,0,0,1,1,3,3,13
0,0,0,1,1,3,4,12
0,0,0,1,1,4,4,11
0,0,0,1,2,3,3,10
0,0,0,1,2,3,4,9
0,0,0,1,2,4,4,8
0,0,0,2,2,3,3,7
0,0,0,2,2,3,4,6
0,0,0,2,2,4,4,5
2,i,j,5,5,9,9,1
2,i,j,5,6,6,10,1
2,i,j,5,6,7,9,1
2,i,j,5,6,8,9,1
2,i,j,5,8,8,8,1
2,i,j,6,6,6,9,1
2,i,j,6,6,7,7,1
2,i,j,6,6,7,8,1
2,i,j,6,6,8,8,1
1,i,j,8,8,9,12,1
1,i,j,8,8,11,11,1
1,i,j,8,8,12,12,1
1,i,j,8,9,9,10,1
1,i,j,8,9,9,11,1
1,i,j,8,9,9,13,1
1,i,j,8,9,10,12,1
1,i,j,8,9,11,12,1
1,i,j,8,11,11,11,1
1,i,j,9,9,9,9,1
1,i,j,9,9,9,12,1
1,i,j,9,9,10,10,1
1,i,j,9,9,10,11,1
1,i,j,9,9,11,11,1
4,g,h,5,5,9,9,3
4,g,h,5,8,8,12,3
4,g,h,5,8,11,9,3
4,g,h,5,8,6,9,3
4,g,h,5,6,6,6,3
4,g,h,8,8,8,9,3
4,g,h,8,8,11,11,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