(This isn't exactly related to the topic of this thread but I wasn't sure where else to put this)
How many table lines (counting variables) are needed for a Life ruletable?
Here's a 21-line table using rotate4reflect symmetry (I can provide details on how it works if needed):
Code: Select all
@RULE GolfLife
@TABLE
n_states:2
neighborhood:Moore
symmetries:rotate4reflect
var a={0,1}
var b=a
var c=a
var d=a
var e=a
var f=a
a,1,0,1,0,1,0,0,0,1
1,a,0,b,0,b,0,b,0,0
1,1,a,b,0,0,0,0,0,1
a,1,1,b,b,0,0,0,0,0
a,1,1,b,c,0,0,0,0,1
a,1,1,0,0,1,0,0,0,1
a,1,1,0,0,0,1,0,0,1
a,1,1,0,0,0,0,b,c,1
a,1,0,1,0,0,1,0,0,1
a,1,0,0,1,0,1,0,0,1
a,0,1,0,1,0,1,0,0,1
1,1,0,0,a,b,0,0,0,1
1,0,a,0,b,0,b,0,b,0
1,0,1,0,a,0,b,0,0,1
1,1,1,a,b,c,d,e,f,0
So this post won't be completely off-topic, here's a 9-transition table for an adjustable spaceship:
Code: Select all
@RULE GolfShip
@TABLE
n_states:3
neighborhood:Moore
symmetries:none
0,0,0,0,0,0,0,1,0,1
0,0,0,2,0,0,0,1,0,2
1,0,0,2,0,0,0,1,0,2
0,0,0,0,0,2,2,0,0,2
2,0,0,2,0,0,0,1,0,0
2,0,0,0,0,0,0,1,0,0
2,0,0,0,0,0,0,2,0,0
0,0,0,0,2,1,0,0,0,1
1,0,0,2,0,0,0,0,0,0
Any sufficiently advanced software is indistinguishable from malice.