Rule:Codd-ICRA

From LifeWiki
Revision as of 15:54, 20 January 2020 by Ian07 (talk | contribs) (from https://github.com/gollygang/ruletablerepository)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

@RULE Codd-ICRA

@TABLE

  1. Codd-ICRA rule table

n_states:8 neighborhood:vonNeumann symmetries:rotate4

var a={0,1,2,3,4,5,6,7} var b={0,1,2,3,4,5,6,7} var c={0,1,2,3,4,5,6,7} var d={0,1,2,3,4,5,6,7}

  1. Note: In the original rule table, it says 'even'.
  2. I believe that this should say 'odd'.

var e={1,3,5,7}


  1. TJH added some extra cases for collisions between sheathing-signals:
  2. (see top of file)
  3. for 2-way collisions:

0,0,6,6,2,2 # sh 0,6,6,0,2,2 # sh (reflected form of above)

  1. for 3-way collisions:

1,6,6,6,0,6 # sh

  1. TJH added some extra cases to allow sense after extend_left
  2. (sense after extend_right works, and is used on the program tape)

2,0,0,3,4,3 0,0,3,1,2,1 # path end self-repair


  1. Original rule table

0,0,0,0,6,2 0,0,0,0,7,3 0,0,0,1,5,3 0,0,0,1,6,2 0,0,0,2,5,2 0,0,0,2,6,2 0,0,0,4,2,2 0,0,0,5,1,3 0,0,0,6,1,2 0,0,0,6,2,2 0,0,0,6,6,2 0,0,1,0,6,2 0,0,1,0,7,3 0,0,1,1,6,2 0,0,1,2,6,2 0,0,1,6,1,2 0,0,1,6,2,2 0,0,1,6,6,2 0,0,2,0,6,2 0,0,2,0,7,3 0,0,2,1,3,1 0,0,2,2,6,2 0,0,2,2,7,1 0,0,2,6,1,2 0,0,2,6,2,2 0,0,2,7,2,1 0,0,3,6,3,1 0,0,6,1,1,2 0,0,6,2,1,2 0,0,6,2,2,2 0,0,6,2,6,2 0,0,6,6,1,2 0,0,7,2,2,1

0,1,1,1,6,2 0,1,1,2,4,1 0,1,1,2,5,1 0,1,1,2,6,1 0,1,1,2,7,1 0,1,1,4,2,1 0,1,1,5,2,1 0,1,1,6,2,1 0,1,1,6,6,2

0,1,2,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