Rule:FireWorld+: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
@RULE FireWorld+
@RULE FireWorld+


# A fancy combination of FireWorld rule with the Diaphotons rule
# Copyright by Yoel Matveyev, 2022
# The GNU General Public License v3.0
 
# This rule is a combination of two rules: FireWorld and a variety of Diaphotons.
# The idea to combine these rules was partially inspired by Brian Prentice's rule Mites.


# FireWorld is the next generation of Fireworld (03ajkr/2ak/3), proven to be
# FireWorld is the redefinition of the old Fireworld (03ajkr/2ak/3), proven in itself to be capable
# capable in itself of universal computation and suitable for constructing logic circuits.
# of universal computation and to be suitable for constructing complex logic circuits.


# This new generation of Fireworld is a hybrid rule combining 03ajkr7/2ak/3 and
# The new FireWorld is a hybrid rule combining 03ajkr/2ak/3 and a Wireworld-like
# a Wireworld-like wiring system. It is fully backward compatible with Fireworld.
# wiring system. It is fully backward compatible with the old Fireworld.


# Wires are implemented as the fourth, immutable state. The new rules are as follows:
# Wires are implemented as the fourth, immutable state. The new rules are as follows:
Line 14: Line 18:
# 2. A cell is born, if surrounded by 1 orthogonal and 1 diagonal neighboring living cell and 2 or 3 wire cells.
# 2. A cell is born, if surrounded by 1 orthogonal and 1 diagonal neighboring living cell and 2 or 3 wire cells.


# The last rule mirrors the "2ak" behavior of Fireworld and helps to ignite electrons on wires by free photons.
# The last rule matches the "2ak" behavior of Fireworld and helps to ignite electrons on wires by free photons.


# Diaphotons is a simple rule that allows spaceships to travel diagonally at the maximum "speed of light".
# Diaphotons is a simple rule that allows spaceships to travel diagonally at the maximum "speed of light".
# This variety enables conversion of diagonal photons in certain positions into orthogonal ones.


# The resulting combination rule allows to convert diaphotons to photons and electrons and vice versa.
# The resulting combination rule allows to convert diaphotons to photons and electrons and vice versa.
# Diaphotons have their own 2 states. Another extra state converts photons to diaphtons.
# Diaphotons have their own 2 states. Another extra state converts photons to diaphotons.
# It also enables a diagonal diode and the OR gate. Interaction between diophotons enables the AND gate.
# It also enables a diagonal diode and the OR gate. Interactions between diophotons enable the AND gate.
 
# As long as these extra states are not used, the rule is 100% backward compatible with FireWorld.
 
# Partially inspired by Brian Prentice's rule Mites


# Copyright by Yoel Matveyev, 2022
# As long as these 3 extra states are not used, the rule is 100% backward compatible with FireWorld.
# The GNU General Public License v3.0


@COLORS
@COLORS
Line 62: Line 62:
var p=i
var p=i


# The original Fireworld augmented with S7
# The original Fireworld rule from 2001


0,1,1,i,j,k,l,m,n,1
0,1,1,k,l,m,n,o,p,1
0,1,i,j,1,k,l,m,n,1
0,1,j,k,1,m,n,o,p,1
1,i,j,k,l,m,n,o,p,1
1,i,j,k,l,m,n,o,p,1
1,1,1,1,i,j,k,l,m,1
1,1,1,1,l,m,n,o,p,1
1,1,i,1,1,j,k,l,m,1
1,1,j,1,1,m,n,o,p,1
1,1,1,i,j,1,k,l,m,1
1,1,1,k,l,1,n,o,p,1
1,1,i,1,j,k,1,l,m,1
1,1,j,1,l,m,1,o,p,1
1,1,i,1,j,k,l,m,1,1
1,1,1,1,1,1,1,1,i,1
1,1,1,1,1,1,1,i,1,1
 


var a2={0,2,6}
var a2={0,2,6}
Line 306: Line 302:
0,i,6,k,l,m,1,o,p,4
0,i,6,k,l,m,1,o,p,4


# Two orthogonally ajacent green cells become red, enacling an AND gate
# Two orthogonally ajacent green cells become red, enabling an AND gate


0,4,4,k,l,m,n,o,p,1
0,4,4,k,l,m,n,o,p,1
Line 312: Line 308:
0,i,4,k,l,m,5,o,p,4
0,i,4,k,l,m,5,o,p,4


# Two green cells react with two white cells, enabling an OR gate
# Two greens cells react with two white cells, enabling an OR gate


0,6,b2,c2,d2,6,4,g2,4,4
0,6,b2,c2,d2,6,4,g2,4,4

Revision as of 23:23, 25 May 2022

@RULE FireWorld+

  1. Copyright by Yoel Matveyev, 2022
  2. The GNU General Public License v3.0
  1. This rule is a combination of two rules: FireWorld and a variety of Diaphotons.
  2. The idea to combine these rules was partially inspired by Brian Prentice's rule Mites.
  1. FireWorld is the redefinition of the old Fireworld (03ajkr/2ak/3), proven in itself to be capable
  2. of universal computation and to be suitable for constructing complex logic circuits.
  1. The new FireWorld is a hybrid rule combining 03ajkr/2ak/3 and a Wireworld-like
  2. wiring system. It is fully backward compatible with the old Fireworld.
  1. Wires are implemented as the fourth, immutable state. The new rules are as follows:
  1. 1. A cell is born, if surrounded by 1 living (state 1) cell and 2 or 3 wire cells (state 3).
  2. 2. A cell is born, if surrounded by 1 orthogonal and 1 diagonal neighboring living cell and 2 or 3 wire cells.
  1. The last rule matches the "2ak" behavior of Fireworld and helps to ignite electrons on wires by free photons.
  1. Diaphotons is a simple rule that allows spaceships to travel diagonally at the maximum "speed of light".
  2. This variety enables conversion of diagonal photons in certain positions into orthogonal ones.
  1. The resulting combination rule allows to convert diaphotons to photons and electrons and vice versa.
  2. Diaphotons have their own 2 states. Another extra state converts photons to diaphotons.
  3. It also enables a diagonal diode and the OR gate. Interactions between diophotons enable the AND gate.
  1. As long as these 3 extra states are not used, the rule is 100% backward compatible with FireWorld.

@COLORS

0 0 0 0 1 255 0 0 2 255 255 0 3 0 0 255 4 0 255 0 5 0 255 255 6 255 255 255

@TABLE

n_states:7 neighborhood:Moore symmetries:rotate4reflect var a={0,1,2,3,4,5,6} var b=a var c=a var d=a var e=a var f=a var g=a var h=a

var i={0,2,5} var j=i var k=i var l=i var m=i var n=i var o=i var p=i

  1. The original Fireworld rule from 2001

0,1,1,k,l,m,n,o,p,1 0,1,j,k,1,m,n,o,p,1 1,i,j,k,l,m,n,o,p,1 1,1,1,1,l,m,n,o,p,1 1,1,j,1,1,m,n,o,p,1 1,1,1,k,l,1,n,o,p,1 1,1,j,1,l,m,1,o,p,1

var a2={0,2,6} var b2=a2 var c2=a2 var d2=a2 var e2=a2 var f2=a2 var g2=a2 var h2=a2

  1. Diaphtons

0,a2,4,c2,d2,e2,f2,g2,h2,4 0,4,b2,c2,d2,e2,f2,g2,h2,5 0,4,5,c2,d2,e2,f2,g2,h2,5

  1. A computer-generated list of all possible living cells and wire cells positions

0,i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ent green cells become red, enabling an AND gate

0,4,4,k,l,m,n,o,p,1 4,4,j,k,l,m,n,o,p,2 0,i,4,k,l,m,5,o,p,4

  1. Two greens cells react with two white cells, enabling an OR gate

0,6,b2,c2,d2,6,4,g2,4,4 0,4,6,k,6,4,n,o,p,5

  1. Enabling a diagonal diode

0,6,6,3,l,m,n,o,4,4 0,3,4,k,l,m,n,o,p,4

  1. Cleaning up, making sure the wires are immutable

1,a,b,c,d,e,f,g,h,2 2,a,b,c,d,e,f,g,h,0 3,a,b,c,d,e,f,g,h,3 4,a,b,c,d,e,f,g,h,0 5,a,b,c,d,e,f,g,h,0 6,a,b,c,d,e,f,g,h,6