Rule:Bloom

From LifeWiki
Jump to navigation Jump to search

@RULE Bloom

rabbit, 2025-09-07 State 1 operates similarly to HighLife (B36/S23) State 2 operates similarly to DryLife (B37/S23)

However, if a state 0 cell is surrounded by eight state 1/2 cells, one of three things happens: If five or more of the cells are state 1, the central cell turns to state 3 If five or more of the cells are state 2, the central cell turns to state 4 If states 1 and 2 present four cells each, the central cell stays in state 0.

States 3 and 4 are virus cells. Their functions are similar to eachother. State 3 "infects" nearby state 1 cells, and turns into a state 2 cell if it is surrounded by two or three state 1-4 cells. State 4 "infects" nearby state 2 cells, and turns into a state 1 cell if it is surrounded by two or three state 1-4 cells.

The resulting rule supports most key objects from HighLife in state 1 and DryLife in state 2, but also some other interesting patterns.

@TABLE n_states:5 neighborhood:Moore symmetries:permute

var a1={0,1,2,3,4} var a2=a1 var a3=a1 var a4=a1 var a5=a1 var a6=a1 var a7=a1 var a8=a1

var b1={1,2} var b2=b1 var b3=b1 var b4=b1

var n1={0,1,2}

var l1={1,2,3,4} var l2=l1

  1. Standard B3/S23 for both

0, 1, 1,b1, 0, 0, 0, 0, 0, 1 0, 2, 2,b1, 0, 0, 0, 0, 0, 2 1,b1,b2,n1, 0, 0, 0, 0, 0, 1 2,b1,b2,n1, 0, 0, 0, 0, 0, 2

  1. Birth an opposing virus on 8, unless they're tied

0, 1, 1, 1, 1, 2, 2, 2, 2, 0 0, 1, 1, 1, 1,b1,b2,b3,b4, 3 0, 2, 2, 2, 2,b1,b2,b3,b4, 4

  1. Spread the virus to other adjacent alive cells

1, 3,a1,a2,a3,a4,a5,a6,a7, 3 2, 4,a1,a2,a3,a4,a5,a6,a7, 4

  1. ...But only if they're the incorrect state.

1, 4,a1,a2,a3,a4,a5,a6,a7, 1 2, 3,a1,a2,a3,a4,a5,a6,a7, 2

  1. Viruses turn into the correct state iff they're around 2-3 other non-0 cells.

3,l1,l2,a1, 0, 0, 0, 0, 0, 2 4,l1,l2,a1, 0, 0, 0, 0, 0, 1

  1. HighLife and DryLife births, but only with half or more cells of the appropriate state.

0, 1, 1, 1,b1,b2,b3, 0, 0, 1 0, 2, 2, 2, 2,b1,b2,b3, 0, 2

  1. Death under all other circumstances

1,a1,a2,a3,a4,a5,a6,a7,a8, 0 2,a1,a2,a3,a4,a5,a6,a7,a8, 0 3,a1,a2,a3,a4,a5,a6,a7,a8, 0 4,a1,a2,a3,a4,a5,a6,a7,a8, 0

@COLORS 0 0 0 0 1 200 255 255 2 255 255 200 3 255 255 0 4 0 255 255

@NAMES 1 HighLife 2 DryLife 3 DryVirus 4 HighVirus

@ICONS XPM /* width height num_colors chars_per_pixel */ "7 28 2 1" ". c #000000" "A c #FFFFFF"

"AAAAAAA" "A.AAAAA" "A.AAAAA" "A...AAA" "A.AA.AA" "A.AA.AA" "AAAAAAA"

"AAAAAAA" "AAAA.AA" "AAAA.AA" "AA...AA" "A.AA.AA" "AA...AA" "AAAAAAA"

"AAAAAAA" "A....AA" "A.AAA.A" "A.AAA.A" "A.AAA.A" "A....AA" "AAAAAAA"

"AAAAAAA" "A.AAA.A" "A.AAA.A" "A.....A" "A.AAA.A" "A.AAA.A" "AAAAAAA"