Here's one artificial rule I made, it applies the Sieve of Eratosthenes
the components:
a number line
a family of spaceships that carve the number line in n(any) steps
a ship constructor to make and initial the ships
a timer for the constructor to make sure the ships does not hit each other
As i said, it is completely artificial since it's only made to do this
Questions I want to ask:
Non/partial-artificial generation rules? (has other properties)
rules that uses other algorithms?
my rule:
Code: Select all
@RULE Prime
1: column
2: move.down
3: move.right
4: tweak
5: encryptor
6: unmarked number
7: marked prime
8: conversion unit
9: add signal
10: final
11: final2
12: stretcher
13: special one bug fix
14: Timer wire
15: wire extender
16: wire up
17: wire down
18: ender
19: number line extender
@TABLE
n_states:20
neighborhood:Moore
symmetries:none
var a = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}
var b = {a}
var c = {a}
var d = {a}
var e = {a}
var f = {a}
var g = {a}
var h = {a}
var m = {1,3,4}
var x = {0,1,13,14}
var y = {x}
var z = {x}
var i = {0,6}
var j = {i}
var k = {i}
var o = {0,6,7}
var p = {o}
var q = {o}
var xt = {0,14}
var mt = {15,16}
var xtt = {0,12}
#moving
1,0,m,0,a,b,c,i,0,0
0,m,0,0,a,b,c,1,0,1
1,a,b,0,m,0,0,0,c,0
0,a,0,0,0,m,0,1,b,1
1,3,0,0,i,a,b,0,0,2
3,x,0,0,0,1,0,0,0,1
2,x,0,0,i,1,j,0,0,0
0,0,0,0,0,0,1,2,x,3
#backtrack
2,1,0,0,o,p,q,0,0,0
0,0,0,0,i,j,k,2,1,5
5,a,b,c,d,e,f,g,h,4
4,1,0,0,i,x,j,0,0,1
4,0,0,0,i,1,j,0,0,2
1,a,0,0,i,4,j,0,b,4
#encryption
6,5,a,b,c,d,e,f,g,0
#conversion
6,8,a,b,c,d,e,f,g,7
9,x,0,0,a,8,b,0,0,1
9,x,0,0,a,1,b,0,0,1
9,1,0,0,0,1,0,0,0,1
1,x,0,0,0,9,0,0,0,9
0,0,0,0,0,9,0,0,a,1
1,0,0,0,o,p,q,x,0,0
1,0,0,0,o,p,q,xt,xt,0
1,0,0,0,o,p,q,16,0,0
0,0,x,y,o,p,q,1,0,1
0,0,x,8,o,p,q,1,0,1
x,y,0,0,0,8,1,0,0,9
1,0,9,8,o,p,q,x,0,0
1,0,9,8,o,p,q,14,14,0
1,0,9,8,o,p,q,16,0,0
10,1,0,0,0,8,1,0,0,13
10,0,0,0,0,13,0,0,0,1
1,1,0,0,0,8,0,0,0,10
8,10,0,0,o,p,q,0,0,1
10,1,0,0,0,1,0,0,0,1
10,1,0,0,0,8,0,0,0,1
1,x,0,0,0,10,0,0,0,10
10,0,0,0,0,1,0,0,0,11
11,0,0,0,0,a,0,0,0,0
1,11,0,0,0,x,0,0,0,2
12,0,0,a,o,p,q,x,b,1
12,mt,0,a,o,p,q,x,b,1
0,0,0,0,o,6,0,12,0,8
0,0,0,0,o,6,7,12,0,8
0,0,0,0,o,p,q,12,0,12
#Timer
mt,0,0,0,xtt,0,14,14,14,0
0,0,0,0,0,mt,14,14,xt,mt
0,0,0,0,15,14,0,0,0,14
0,15,0,0,0,16,14,14,14,16
15,a,0,0,0,16,14,14,14,18
15,a,0,0,0,18,14,14,xt,0
18,a,b,c,d,e,f,g,h,0
16,0,0,0,0,0,14,14,0,17
17,0,0,0,0,0,14,14,0,0
0,17,0,0,0,0,14,14,14,17
14,0,0,17,0,14,0,0,0,0
0,0,0,0,o,p,0,14,0,12
0,0,0,0,12,14,0,0,0,14
0,0,0,0,0,12,14,0,0,15
15,0,0,0,8,1,14,14,14,0
15,0,0,0,1,1,14,14,14,0
16,0,0,0,o,p,0,14,14,0
0,0,0,1,o,p,0,14,14,16
#line extender
0,0,0,0,0,0,19,6,0,6
0,6,0,0,0,0,0,19,6,19
19,6,6,0,0,0,0,0,6,0
@COLORS
0 0 0 0
1 255 255 255
2 40 40 255
3 40 200 255
4 255 80 30
5 255 30 80
6 128 128 128
7 255 255 0
8 122 20 255
9 255 20 122
10 255 80 80
11 255 80 80
12 0 255 62
13 255 255 255
14 255 128 0
15 255 20 122
16 255 80 30
17 40 40 255
18 255 80 30
Code: Select all
x = 9, y = 4, rule = Prime
5.A$N5.D$.2GF.F.2F$8.S!