Rule:Flow6

From LifeWiki
Revision as of 16:38, 10 January 2023 by Redstoneboi (talk | contribs) (fixed bug where parallel wires interact if there was a bridge between them)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

@RULE Flow6

  1. Jan 10, 2023
  1. An isotropic Moore rule that Redstoneboi designed to be Turing-complete
  2. and construction-universal (TCCU). This rule's goal is to implement
  3. logic and construction operations that are smaller and faster than
  4. that of Hutton32 and Devore while using only 6 states, having
  5. signals of any length flowing through wires. Hence the name: Flow6.
  1. This rule contains many features such as:
  2. wires, splitters, and crossovers,
  3. extendable and resettable signals,
  4. AND, ANDNOT, XOR and OR gates, each working differently when reversed,
  5. solid state data storage,
  6. and construction arm operations including:
  7. extend,
  8. toggle then retract,
  9. turn 90 degrees towards the bend,
  10. and scan.
  11. You can find all these mechanics in "Flow6/Demo/Features.mc".

@TABLE n_states:6 neighborhood:Moore symmetries:rotate4reflect

var a={0,1,2,3,4,5} var b=a var c=a var d=a var e=a var f=a var g=a var h=a

var j={0,1,2,3,4} var k=j

var w={1,2} var wa=w

var t={0,1,3} var ta=t var tb=t

var s={0,3} var sa=s

var r={2,5} var ra=r var v={1,5} var va=v var i={0,2}

  1. SPACE
  2. turn

0,0,4,4,2,5,5,5,2,3 0,3,5,0,d,e,f,g,0,3 0,5,3,0,d,e,f,0,0,3

0,1,5,5,5,s,f,0,0,3

  1. 0,5,5,5,2,0,f,0,0,3
  2. retract

0,0,4,4,2,5,5,2,0,3 0,4,4,0,1,2,5,5,2,3 0,4,3,0,d,e,f,0,0,4 0,5,5,2,1,e,f,0,0,3

  1. extend

0,5,2,0,d,e,f,0,i,3 0,0,3,2,5,e,f,g,h,3

  1. construction

0,4,4,c,d,e,f,g,h,0 0,4,0,c,d,e,f,g,0,1

  1. WIRE
  2. reset

1,0,5,5,5,2,5,0,h,2

  1. read
  2. destruction

1,4,0,c,d,e,f,g,0,0

  1. retract

1,4,4,0,1,1,1,1,0,0

  1. diode

1,s,5,t,5,sa,f,g,h,5

  1. crossxor

1,5,1,5,ta,w,f,wa,tb,1

  1. crossover

1,3,r,t,d,e,f,ta,1,5 1,5,t,5,ta,w,f,wa,tb,3 1,5,r,s,ra,5,va,sa,v,1 1,5,r,s,j,5,k,sa,v,5 1,5,r,s,d,e,f,sa,v,1

  1. solid state catch

1 0,2,0,d,0,f,0,h 5

  1. basic

1,5,b,5,d,e,f,g,h,1 1,5,b,c,d,e,f,g,h,5

  1. TAIL
  2. turn

2,4,3,5,0,0,f,g,h,3 2,0,3,0,3,1,0,5,0,5

  1. retract

2,3,0,1,3,4,0,0,0,2 2,5,5,4,d,e,f,g,h,2 2,4,b,c,d,e,f,g,h,0

  1. reset

2,1,5,c,5,1,0,5,0,2

  1. extend

2,3,3,1,d,0,f,0,0,0

  1. basic

2,a,b,c,d,e,f,g,h,1

  1. SPECIAL
  2. bugs

3,3,2,0,1,2,0,0,0,0 3,3,0,2,1,0,f,0,0,0

  1. read

3,5,5,5,5,0,0,0,0,4 3,3,5,4,0,0,f,g,h,0 3,3,4,5,0,0,f,g,h,0

  1. turn

3,4,2,1,5,5,5,0,0,3

  1. connect

3,3,1,t,d,e,f,i,v,0

  1. 3,3,2,0,0,e,f,g,1,0
  2. 3,3,1,2,0,e,f,g,1,0
  3. retract

3,4,2,1,v,0,t,0,0,1 3,2,1,1,0,0,0,0,0,4

  1. crossover

3,5,b,5,d,v,f,v,h,3 3,2,b,2,d,v,f,v,h,2

  1. extend

3,3,b,c,d,e,f,g,h,1

  1. basic

3,a,b,c,d,e,f,g,h,0

  1. TOGGLER
  2. read

4,3,3,5,5,5,2,0,0,4

  1. turn

4,4,0,3,5,2,f,g,h,3

  1. basic

4,2,1,3,0,0,0,0,0,4 4,a,b,c,d,e,f,g,h,0

  1. SIGNAL
  2. read

5,5,4,2,0,0,0,0,0,1 5,5,2,4,0,0,3,0,0,1

  1. destruction

5,4,0,c,d,e,f,g,0,0

  1. reset

5,1,5,5,5,1,0,1,0,2

  1. turn

5,2,4,3,5,5,0,0,0,5 5,3,3,0,2,5,0,0,0,2 5,5,3,2,0,0,0,0,0,5 5,5,2,3,0,0,0,0,0,2

  1. retract

5,2,4,0,2,5,0,0,0,4 5,2,4,1,0,5,0,0,0,5 5,0,0,0,0,0,0,5,2,4

  1. extend

5,0,0,0,0,0,0,2,1,2

  1. solid state catch and release

5 0,2,0,d,0,f,0,h 2 5 0,b,0,d,0,f,0,h 5

  1. basic

5,0,2,0,r,0,f,g,h,2 5,0,5,0,5,0,f,g,h,5 5,r,b,c,d,e,f,g,h,r 5,3,r,c,d,e,f,g,h,5 5,a,b,c,d,e,f,g,h,2

@COLORS 0 000 000 000 1 255 000 000 2 192 096 096 3 128 064 064 4 064 032 032 5 000 255 255