Rule:ReversibleLife

From LifeWiki
Revision as of 17:54, 20 December 2019 by Dvgrn (talk | contribs) (Rule 'ReversibleLife' from auto-import project)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

@RULE ReversibleLife

https://conwaylife.com/forums/viewtopic.php?p=14600#p14650

@TREE

num_states=4 num_neighbors=8 num_nodes=32 1 0 2 1 3 2 0 0 0 0 1 0 3 1 2 2 0 2 0 2 3 1 3 1 3 1 1 3 0 2 2 2 5 2 5 3 3 6 3 6 4 4 7 4 7 2 5 0 5 0 3 6 9 6 9 4 7 10 7 10 5 8 11 8 11 3 9 1 9 1 4 10 13 10 13 5 11 14 11 14 6 12 15 12 15 3 1 1 1 1 4 13 17 13 17 5 14 18 14 18 6 15 19 15 19 7 16 20 16 20 4 17 17 17 17 5 18 22 18 22 6 19 23 19 23 7 20 24 20 24 8 21 25 21 25 5 22 22 22 22 6 23 27 23 27 7 24 28 24 28 8 25 29 25 29 9 26 30 26 30

@TABLE n_states:4 neighborhood:Moore symmetries:permute

  1. These states are treated as on.

var on_a = {1,3} var on_b = {1,3} var on_c = {1,3} var on_d = {1,3}

  1. These states are treated as off.

var of_a = {0,2} var of_b = {0,2} var of_c = {0,2} var of_d = {0,2} var of_e = {0,2}

  1. These states indicate any.

var an_a = {0,1,2,3} var an_b = {0,1,2,3} var an_c = {0,1,2,3} var an_d = {0,1,2,3} var an_e = {0,1,2,3} var an_f = {0,1,2,3} var an_g = {0,1,2,3} var an_h = {0,1,2,3}


  1. The birth rule: B3. Note that two states are considered as off: 0 and 2.

0,on_a,on_b,on_c,of_a,of_b,of_c,of_d,of_e,1 2,on_a,on_b,on_c,of_a,of_b,of_c,of_d,of_e,0

  1. The survival rule: S23. Note that two states are considered as on: 1 and 3.

1,on_a,on_b,an_a,of_a,of_b,of_c,of_d,of_e,3 3,on_a,on_b,an_a,of_a,of_b,of_c,of_d,of_e,2

  1. The scenario in which a cell dies, or a dead cell continues to be dead.

1,an_a,an_b,an_c,an_d,an_e,an_f,an_g,an_h,2 2,an_a,an_b,an_c,an_d,an_e,an_f,an_g,an_h,1 3,an_a,an_b,an_c,an_d,an_e,an_f,an_g,an_h,3

  1. The final line can be omitted as, in unspecified situations, Golly retains cell state.