Rule:Circleoflife: Difference between revisions
Jump to navigation
Jump to search
DroneBetter (talk | contribs) Create so that [https://conwaylife.com/forums/viewtopic.php?f=11&t=434 Batmanifestdestiny's rule] from 2010-09-28 may have inline LifeViewer embeds |
No edit summary |
||
| Line 3: | Line 3: | ||
#Format: C,N,NE,E,SE,S,SW,W,NW,C' | #Format: C,N,NE,E,SE,S,SW,W,NW,C' | ||
# | # | ||
@RULE circleoflife | |||
@TABLE | |||
n_states:4 | n_states:4 | ||
neighborhood:Moore | neighborhood:Moore | ||
Latest revision as of 16:44, 29 October 2023
- Circle of Life, a Cellular Atomaton by Ben Cluck (Batmanifestdestiny)
- 4-state, 9-neighbor CA for life of a typical animal
- Format: C,N,NE,E,SE,S,SW,W,NW,C'
@RULE circleoflife @TABLE n_states:4 neighborhood:Moore symmetries:rotate8 var a={0,1,2,3} var b={0,1,2,3} var c={0,1,2,3} var d={0,1,2,3} var e={0,1,2,3} var f={0,1,2,3} var g={0,1,2,3} var h={0,1,2,3}
- 0, is empty, 1 is young, 2 is mature, 3 is old
- if at least three youngs are touching, they will kill each other
1,1,1,c,d,e,f,g,h,0 1,1,b,1,d,e,f,g,h,0 1,1,b,c,1,e,f,g,h,0 1,1,b,c,d,1,f,g,h,0 1,1,b,c,d,e,1,g,h,0 1,1,b,c,d,e,f,1,h,0 1,1,b,c,d,e,f,g,1,0
- young -> mature
1,a,b,c,d,e,f,g,h,2
- if at least two matures are touching, they will kill each other
2,2,b,c,d,e,f,g,h,0
- mature -> old
2,a,b,c,d,e,f,g,h,3
- if at least two olds are touching, they will kill each other
3,3,b,c,d,e,f,g,h,0
- old -> empty
3,a,b,c,d,e,f,g,h,0
- if empty has 2 or more neighbors that are mature, than empty -> young
0,2,b,2,d,e,f,g,h,1 0,2,b,c,2,e,f,g,h,1 0,2,b,c,d,2,f,g,h,1 0,2,b,c,d,e,2,g,h,1 0,2,b,c,d,e,f,2,h,1 0,2,b,c,d,e,f,g,2,1