Rule:Sticky: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
Update
Line 1: Line 1:
@RULE Sticky
@RULE Sticky


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


@COLORS
@COLORS
Line 13: Line 13:
neighborhood:Moore
neighborhood:Moore
symmetries:rotate4reflect
symmetries:rotate4reflect
var a={0,1,2,3}
var a{0,1,2,3}
var b=a
var b=a
var c=a
var c=a
Line 36: Line 36:
     0 2,2,1,2,2,f,g,h 0
     0 2,2,1,2,2,f,g,h 0
   #construct
   #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,0,2 2
     0 3,3,0,d,e,f,g,1 2
     0 3,3,0,d,e,f,g,1 2
Line 61: Line 60:
     1 3,3,0,0,0,0,2,0 0
     1 3,3,0,0,0,0,2,0 0
   #construction
   #construction
     1 2,2,3,0,e,f,g,h 2
    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,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,c,d,e,3,g,h 3
     1 2,2,0,d,e,f,g,0 0
     1 2,2,0,d,e,f,g,0 0

Revision as of 14:08, 10 July 2021

@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