Difference between revisions of "Rule:Sticky"
Jump to navigation
Jump to search
Redstoneboi (talk | contribs) m (re-added @COLORS) |
(Add updated sticky: https://discord.com/channels/357922255553953794/483875304364834816/862712434236981258) Tag: Replaced |
||
| Line 2: | Line 2: | ||
https://conwaylife.com/forums/viewtopic.php?f=11&t=3537&start=25#p92682 | https://conwaylife.com/forums/viewtopic.php?f=11&t=3537&start=25#p92682 | ||
@COLORS | @COLORS | ||
0 | #0 0 0 0 | ||
1 255 | #1 255 0 0 | ||
2 | #2 0 128 128 | ||
3 | #3 0 255 255 | ||
0 48 48 48 | |||
1 255 32 64 | |||
2 96 96 128 | |||
3 64 192 255 | |||
3 | |||
@TABLE | @TABLE | ||
| Line 2,048: | Line 18: | ||
neighborhood:Moore | neighborhood:Moore | ||
symmetries:rotate4reflect | symmetries:rotate4reflect | ||
var a | var a{0,1,2,3} | ||
var b=a | var b=a | ||
var c=a | var c=a | ||
| Line 2,056: | Line 26: | ||
var g=a | var g=a | ||
var h=a | var h=a | ||
#SPACE | #SPACE | ||
# shoot | #shoot | ||
0 | 0 1,2,0,0,0,2,3,0 2 | ||
# offset | #offset | ||
0 | 0 1,3,1,d,1,3,1,h 0 | ||
0 | 0 1,3,1,3,1,f,g,h 0 | ||
0 | 0 1,3,1,d,1,f,g,h 3 | ||
# pull | #pull | ||
0,0,2,1,2,0, | var A={0,1} | ||
0 | var B=A | ||
# construct | var C=A | ||
0,3,3,0,d,e,f,0,2 | 0 0,2,1,2,0,A,B,C 2 | ||
0 | 0 2,2,1,2,2,f,g,h 0 | ||
0 | #construct | ||
0 | 0 2,2,2,d,e,f,g,h 1 | ||
0 | 0 3,3,0,d,e,f,0,2 2 | ||
# push | 0 3,3,0,d,e,f,g,1 2 | ||
0,3,1, | 0 3,3,0,d,e,f,g,0 1 | ||
0 | 0 2,3,3,2,0,0,0,0 2 | ||
# photon | 0 3,3,c,d,e,f,g,h 0 | ||
0 | #push | ||
0 | var A={0,2} | ||
0 | var B=A | ||
var C=A | |||
var D=A | |||
var E=A | |||
0 3,1,A,B,C,D,E,0 2 | |||
0 2,2,1,d,e,f,g,h 1 | |||
#photon | |||
0 3,2,c,0,3,0,g,0 2 | |||
0 3,2,c,d,e,f,g,0 0 | |||
0 3,b,c,d,e,f,g,h 3 | |||
#BLOCK | #BLOCK | ||
# shoot | #shoot | ||
1,3,3,0,0,0,0,0,0,0 | 1 2,2,3,d,3,2,0,0 1 | ||
1 | 1 3,3,0,0,0,0,0,0 0 | ||
# construction | 1 3,3,0,0,0,0,2,0 0 | ||
1,3,2,2,d,e,f,g,0,2 | #construction | ||
1 | 1 2,2,3,0,e,f,g,h 2 | ||
1 | 1 2,2,2,d,e,f,g,h 0 | ||
1 3,2,2,d,e,f,g,0 2 | |||
1 2,2,c,d,e,3,g,h 3 | |||
1 2,2,0,d,e,f,g,0 0 | |||
#TAIL | #TAIL | ||
# construct | #construct | ||
2 | 2 3,3,0,0,0,0,0,0 3 | ||
# shoot | #shoot | ||
2 | 2 3,0,0,0,2,0,0,0 1 | ||
# retract | #retract | ||
2 | 2 0,0,0,0,0,0,0,0 1 | ||
# basic | #basic | ||
2 | 2 a,b,c,d,e,f,g,h 0 | ||
#SIGNAL | #SIGNAL | ||
# construct | #construct | ||
3 | 3 3,2,0,0,2,0,0,0 2 | ||
3 | 3 3,0,2,0,0,f,0,0 3 | ||
# cancel | #cancel | ||
3 | 3 2,b,2,d,0,f,0,h 0 | ||
# photon | #photon | ||
3 | 3 a,b,c,d,e,f,g,h 2 | ||
Revision as of 19:47, 8 July 2021
@RULE Sticky
https://conwaylife.com/forums/viewtopic.php?f=11&t=3537&start=25#p92682
@COLORS
- 0 0 0 0
- 1 255 0 0
- 2 0 128 128
- 3 0 255 255
0 48 48 48 1 255 32 64 2 96 96 128 3 64 192 255
@TABLE n_states:4 neighborhood:Moore symmetries:rotate4reflect var a{0,1,2,3} var b=a var c=a var d=a var e=a var f=a var g=a var h=a
- SPACE
#shoot
0 1,2,0,0,0,2,3,0 2
#offset
0 1,3,1,d,1,3,1,h 0
0 1,3,1,3,1,f,g,h 0
0 1,3,1,d,1,f,g,h 3
#pull
var A={0,1}
var B=A
var C=A
0 0,2,1,2,0,A,B,C 2
0 2,2,1,2,2,f,g,h 0
#construct
0 2,2,2,d,e,f,g,h 1
0 3,3,0,d,e,f,0,2 2
0 3,3,0,d,e,f,g,1 2
0 3,3,0,d,e,f,g,0 1
0 2,3,3,2,0,0,0,0 2
0 3,3,c,d,e,f,g,h 0
#push
var A={0,2}
var B=A
var C=A
var D=A
var E=A
0 3,1,A,B,C,D,E,0 2
0 2,2,1,d,e,f,g,h 1
#photon
0 3,2,c,0,3,0,g,0 2
0 3,2,c,d,e,f,g,0 0
0 3,b,c,d,e,f,g,h 3
- BLOCK
#shoot 1 2,2,3,d,3,2,0,0 1 1 3,3,0,0,0,0,0,0 0 1 3,3,0,0,0,0,2,0 0 #construction 1 2,2,3,0,e,f,g,h 2 1 2,2,2,d,e,f,g,h 0 1 3,2,2,d,e,f,g,0 2 1 2,2,c,d,e,3,g,h 3 1 2,2,0,d,e,f,g,0 0
- TAIL
#construct 2 3,3,0,0,0,0,0,0 3 #shoot 2 3,0,0,0,2,0,0,0 1 #retract 2 0,0,0,0,0,0,0,0 1 #basic 2 a,b,c,d,e,f,g,h 0
- SIGNAL
#construct 3 3,2,0,0,2,0,0,0 2 3 3,0,2,0,0,f,0,0 3 #cancel 3 2,b,2,d,0,f,0,h 0 #photon 3 a,b,c,d,e,f,g,h 2