Rule:CBRLife: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
CBRLife rule from 2014
 
m change the colors to what I remember being originally intended -- not sure how those colors got in there
Line 208: Line 208:
@COLORS
@COLORS


1  194  52   0      ON #1 dark red  
1  255    0   0      ON #1 red  
2 142  227  230     OFF #1 very light blue
2   96    0    0     OFF #1 red trail
3  204  134  108     ON #2 light red
3   0 255    0     ON #2 green
7  238  240  246     OFF #2 white blue
4    0  96    0     OFF #2 green trail
5    0   18 255      ON #3 dark blue
5    0   0 255      ON #3 blue
8  240  194   56     OFF #4 light red
6    0    0   96     OFF #3 blue trail
4 128 137  160     ON #4 light blue
7 255 255    0     ON #4 yellow
6  255  235  192     OFF #3 white red
8  96  96    0     OFF #4 yellow trail
9  96  96  96
9  96  96  96     gray border

Revision as of 18:57, 1 January 2021

@RULE CBRLife

  1. a variant of LifeHistory with three extra ON states
  2. and corresponding OFF states, for a cyclic color experiment:
  3. state 0: OFF
  4. state 1: ON red
  5. state 2: OFF red
  6. state 3: ON yellow
  7. state 4: OFF yellow
  8. state 5: ON green
  9. state 6: OFF green
  10. state 7: ON blue
  11. state 8: OFF blue
  12. state 9: boundary cell
  13. Created for Rich Blundell in 2014, for a Ph.D. project
  14. involving an extended analogy with the Cosmic Background Radiation sky map.

@TABLE n_states:10 neighborhood:Moore symmetries:rotate8

var a={0,2,4,6,8} var b={0,2,4,6,8} var c={0,2,4,6,8} var d={0,2,4,6,8} var e={0,2,4,6,8} var f={0,2,4,6,8} var i={0,1,2,3,4,5,6,7,8,9} var j={0,1,2,3,4,5,6,7,8,9} var k={0,1,2,3,4,5,6,7,8,9} var l={0,1,2,3,4,5,6,7,8,9} var m={0,1,2,3,4,5,6,7,8,9} var n={0,1,2,3,4,5,6,7,8,9} var o={0,1,2,3,4,5,6,7,8,9} var p={0,1,2,3,4,5,6,7,8,9} var q={1,3,5,7} var R={1,3,5,7} var S={1,3,5,7} var T={1,3,5,7}

  1. boundary cell always stays a boundary cell

9,i,j,k,l,m,n,o,p,9

  1. anything else that touches a boundary cell dies
  2. (this prevents un-Life-like accretions at the boundary)

1,9,i,j,k,l,m,n,o,2 2,9,i,j,k,l,m,n,o,2 3,9,i,j,k,l,m,n,o,4 4,9,i,j,k,l,m,n,o,4 5,9,i,j,k,l,m,n,o,6 6,9,i,j,k,l,m,n,o,6 7,9,i,j,k,l,m,n,o,8 8,9,i,j,k,l,m,n,o,8

  1. 3-neighbour color changes if all neighbors are the same color

i,1,1,1,a,b,c,d,e,1 i,1,1,a,1,b,c,d,e,1 i,1,1,a,b,1,c,d,e,1 i,1,1,a,b,c,1,d,e,1 i,1,1,a,b,c,d,1,e,1 i,1,a,1,b,1,c,d,e,1 i,1,a,1,b,c,1,d,e,1

i,3,3,3,a,b,c,d,e,3 i,3,3,a,3,b,c,d,e,3 i,3,3,a,b,3,c,d,e,3 i,3,3,a,b,c,3,d,e,3 i,3,3,a,b,c,d,3,e,3 i,3,a,3,b,3,c,d,e,3 i,3,a,3,b,c,3,d,e,3

i,5,5,5,a,b,c,d,e,5 i,5,5,a,5,b,c,d,e,5 i,5,5,a,b,5,c,d,e,5 i,5,5,a,b,c,5,d,e,5 i,5,5,a,b,c,d,5,e,5 i,5,a,5,b,5,c,d,e,5 i,5,a,5,b,c,5,d,e,5

i,7,7,7,a,b,c,d,e,7 i,7,7,a,7,b,c,d,e,7 i,7,7,a,b,7,c,d,e,7 i,7,7,a,b,c,7,d,e,7 i,7,7,a,b,c,d,7,e,7 i,7,a,7,b,7,c,d,e,7 i,7,a,7,b,c,7,d,e,7

  1. cell stays the same color if it's already ON

1,R,S,T,a,b,c,d,e,1 1,R,S,a,T,b,c,d,e,1 1,R,S,a,b,T,c,d,e,1 1,R,S,a,b,c,T,d,e,1 1,R,S,a,b,c,d,T,e,1 1,R,a,S,b,T,c,d,e,1 1,R,a,S,b,c,T,d,e,1

3,R,S,T,a,b,c,d,e,3 3,R,S,a,T,b,c,d,e,3 3,R,S,a,b,T,c,d,e,3 3,R,S,a,b,c,T,d,e,3 3,R,S,a,b,c,d,T,e,3 3,R,a,S,b,T,c,d,e,3 3,R,a,S,b,c,T,d,e,3

5,R,S,T,a,b,c,d,e,5 5,R,S,a,T,b,c,d,e,5 5,R,S,a,b,T,c,d,e,5 5,R,S,a,b,c,T,d,e,5 5,R,S,a,b,c,d,T,e,5 5,R,a,S,b,T,c,d,e,5 5,R,a,S,b,c,T,d,e,5

7,R,S,T,a,b,c,d,e,7 7,R,S,a,T,b,c,d,e,7 7,R,S,a,b,T,c,d,e,7 7,R,S,a,b,c,T,d,e,7 7,R,S,a,b,c,d,T,e,7 7,R,a,S,b,T,c,d,e,7 7,R,a,S,b,c,T,d,e,7

  1. 2-neighbour color changes happen if both neighbors are same color

q,1,1,a,b,c,d,e,f,1 q,1,a,1,b,c,d,e,f,1 q,1,a,b,1,c,d,e,f,1 q,1,a,b,c,1,d,e,f,1

q,3,3,a,b,c,d,e,f,3 q,3,a,3,b,c,d,e,f,3 q,3,a,b,3,c,d,e,f,3 q,3,a,b,c,3,d,e,f,3

q,5,5,a,b,c,d,e,f,5 q,5,a,5,b,c,d,e,f,5 q,5,a,b,5,c,d,e,f,5 q,5,a,b,c,5,d,e,f,5

q,7,7,a,b,c,d,e,f,7 q,7,a,7,b,c,d,e,f,7 q,7,a,b,7,c,d,e,f,7 q,7,a,b,c,7,d,e,f,7

  1. Otherwise cell turns on the same color as last time
  2. (if there was a last time, otherwise pick a neighbor)

2,R,S,T,a,b,c,d,e,1 2,R,S,a,T,b,c,d,e,1 2,R,S,a,b,T,c,d,e,1 2,R,S,a,b,c,T,d,e,1 2,R,S,a,b,c,d,T,e,1 2,R,a,S,b,T,c,d,e,1 2,R,a,S,b,c,T,d,e,1

4,R,S,T,a,b,c,d,e,3 4,R,S,a,T,b,c,d,e,3 4,R,S,a,b,T,c,d,e,3 4,R,S,a,b,c,T,d,e,3 4,R,S,a,b,c,d,T,e,3 4,R,a,S,b,T,c,d,e,3 4,R,a,S,b,c,T,d,e,3

6,R,S,T,a,b,c,d,e,5 6,R,S,a,T,b,c,d,e,5 6,R,S,a,b,T,c,d,e,5 6,R,S,a,b,c,T,d,e,5 6,R,S,a,b,c,d,T,e,5 6,R,a,S,b,T,c,d,e,5 6,R,a,S,b,c,T,d,e,5

8,R,S,T,a,b,c,d,e,7 8,R,S,a,T,b,c,d,e,7 8,R,S,a,b,T,c,d,e,7 8,R,S,a,b,c,T,d,e,7 8,R,S,a,b,c,d,T,e,7 8,R,a,S,b,T,c,d,e,7 8,R,a,S,b,c,T,d,e,7

0,R,S,T,a,b,c,d,e,R 0,R,S,a,T,b,c,d,e,S 0,R,S,a,b,T,c,d,e,T 0,R,S,a,b,c,T,d,e,R 0,R,S,a,b,c,d,T,e,S 0,R,a,S,b,T,c,d,e,T 0,R,a,S,b,c,T,d,e,R

  1. generalized 3-neighbour birth
  2. q,R,S,T,a,b,c,d,e,R
  3. q,R,S,a,T,b,c,d,e,S
  4. q,R,S,a,b,T,c,d,e,T
  5. q,R,S,a,b,c,T,d,e,R
  6. q,R,S,a,b,c,d,T,e,S
  7. q,R,a,S,b,T,c,d,e,T
  8. q,R,a,S,b,c,T,d,e,R
  1. generalized 2-neighbour survival

q,R,S,a,b,c,d,e,f,q q,R,a,S,b,c,d,e,f,q q,R,a,b,S,c,d,e,f,q q,R,a,b,c,S,d,e,f,q

  1. ON states go to the same-colored history state if they don't survive

1,i,j,k,l,m,n,o,p,2 3,i,j,k,l,m,n,o,p,4 5,i,j,k,l,m,n,o,p,6 7,i,j,k,l,m,n,o,p,8

@COLORS

1 255 0 0 ON #1 red 2 96 0 0 OFF #1 red trail 3 0 255 0 ON #2 green 4 0 96 0 OFF #2 green trail 5 0 0 255 ON #3 blue 6 0 0 96 OFF #3 blue trail 7 255 255 0 ON #4 yellow 8 96 96 0 OFF #4 yellow trail 9 96 96 96 gray border