-
-
Save apaap/1be76c8a4c399336aaf4d3497ee323dc to your computer and use it in GitHub Desktop.
Rule table for multi-state Life with Energetic particles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@NUTSHELL Energetic | |
A rule with two totalistic Life states combined with energy particles which | |
decay to eight single cell photons travelling in all eight directions. | |
Based on suggestion by 'KittyTac' | |
See: http://conwaylife.com/forums/viewtopic.php?f=11&t=2030&p=63491#p63491 | |
States | |
0 vacuum | |
1 Life | |
2 Life | |
3 Energetic particle | |
4-11 Photons with directions N -> NW | |
@TABLE | |
neighborhood: Moore | |
states: 12 | |
alive=(1, 2) | |
life=(0, 1, 2) | |
photons=(4..11) | |
symmetries: permute | |
# Energy particle creation | |
0, 1 ~ 3, 2 ~ 3, any-alive; 3 | |
alive, [0: (2, 1)] ~ 1, any; 3 | |
# CGoL Birth | |
0, alive ~ 1, [1] ~ 2, any-[1]; [1] | |
# CGoL Survival | |
alive, [0] ~ 2, (0, [0]) ~ 1, any-alive; [0] | |
# alive, [0] ~ 2, life-(alive-[0]) ~ 1, 0; [0] | |
# alive, [0] ~ 2, life-[0: (2, 1)] ~ 1, any-alive-3; [0] | |
symmetries: none | |
# 8 photon Energy cell creation | |
0, 8, 9, 10, 11, 4, 5, 6, 7; 3 | |
# Photon creation and movement | |
# | |
# Photon creation with two Energy cells | |
0, SE..S 3, SW..E any-3; 4 | |
0, S..SW 3, W..SE any-3; 4 | |
0, SW..W 3, NW..S any-3; 6 | |
0, W..NW 3, N..SW any-3; 6 | |
0, NW..N 3, NE..W any-3; 8 | |
0, N..NE 3, E..NW any-3; 8 | |
0, NE..E 3, SE..N any-3; 10 | |
0, E..SE 3, S..NE any-3; 10 | |
# Photon movement and creation with one or three Energy cell(s) | |
# All multiple photon collisions result in empty space | |
0, S (3, 4), any-5, any-3-6, any-3-7, any-3-8, any-3-9, any-3-10, any-11; 4 | |
0, SW (3, 5), any-6, any-3-7, any-3-8, any-3-9, any-3-10, any-3-11, any-4; 5 | |
0, W (3, 6), any-7, any-3-8, any-3-9, any-3-10, any-3-11, any-3-4, any-5; 6 | |
0, NW (3, 7), any-8, any-3-9, any-3-10, any-3-11, any-3-4, any-3-5, any-6; 7 | |
0, N (3, 8), any-9, any-3-10, any-3-11, any-3-4, any-3-5, any-3-6, any-7; 8 | |
0, NE (3, 9), any-10, any-3-11, any-3-4, any-3-5, any-3-6, any-3-7, any-8; 9 | |
0, E (3, 10), any-11, any-3-4, any-3-5, any-3-6, any-3-7, any-3-8, any-9; 10 | |
0, SE (3, 11), any-4, any-3-5, any-3-6, any-3-7, any-3-8, any-3-9, any-10; 11 | |
# Photon conversion | |
4, N alive, NE..NW any; [1] | |
5, NE alive, E..N any; [2] | |
6, E alive, SE..NE any; [3] | |
7, SE alive, S..E any; [4] | |
8, S alive, SW..SE any; [5] | |
9, SW alive, W..S any; [6] | |
10, W alive, NW..SW any; [7] | |
11, NW alive, N..W any; [8] | |
# Death otherwise | |
live, N..NW any; 0 | |
@COLORS | |
# golly | |
0 48 48 48 | |
1 255 0 128 | |
2 0 255 128 | |
3 255 255 255 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment