Rule:Sticky

From LifeWiki
Revision as of 14:08, 10 July 2021 by Redstoneboi (talk | contribs) (Update)
Jump to navigation Jump to search

@RULE Sticky

https://www.conwaylife.com/forums/viewtopic.php?f=11&t=3537&p=63589#p63589

@COLORS 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

  1. 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 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
  1. 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
   var A={0,1}
   var B=A
   var C=A
   1 2,2,3,0,0,A,B,C 1
   1 2,2,3,0,1,A,B,C 2
   1 2,2,2,d,e,f,g,h 0
   1 2,2,c,d,e,3,g,h 3
   1 2,2,0,d,e,f,g,0 0
  1. 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
  1. 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