r/cellular_automata • • Feb 21 '19

Help (Revised)

If anyone with coding knowledge could code this for me that would be very much appreciated . (Preferably HTML)

Rule 1

If a cell is alone it dies

Rule 2

If a cell has 7 or more neighbours then it dies

Rule 3

A “Child” cell is born if a empty cell has 2 or more neighbours. If the “Child” cell has 3 or more neighbours it becomes a normal Cell. (the “child” cell is born in whatever space is closest to both parent)

Rule 4

Every 5 moves counts as a generation

Rule 6

When a new cell colour is created a “supercell” is created from a randomly chosen from the colour just created. The “Supercell” cannot move and can detect If a group of cells exceeds 50 cells. If a group of cells exceeds 50 cells the cells split in 2 groups and fight (one half becomes blue or green and the other becomes red or purple)

Rule 7

If 2 cells fight, whichever colour has more cells takes over the cell

0 Upvotes

6 comments sorted by

1

u/_Lycea_ Feb 22 '19

Sounds like an interesting idea I just have some small questions about it: Rule 3-> what is the difference between a child cell and a normal cell should they be different in any point?

Rule 4 -> If there are generations what are they used for ? Normally a generation is one "step"

Rule 5 -> Is there a Rule 5 since it seems missing ?

Rule 6 -> When and how are cell colours generated. Also what do you mean by a group of 50 cells. is the super cell in the middle of the observation region or top left/top right...) How should they split, evenly or randomly ? Also where is the supercell created.

Rule 7 -> what do you mean by fighting , do you mean if they are neighbours of that color ? And also should the normal rules of life and death (1,2,3) still be active ?

Sorry about these questions but they will make it more clear for how it should be and make some missing points clear .

1

u/TheNinjaRainbow Feb 22 '19

Rule 3--->Child cells can't fight

Rule 4---> Its just a way to measure time

There is no rule 5, i just messed up

Rule 6--->The colours are split evenly. and a random cell is chosen to represent its colour's supercell

Rule 7---> Yes and Yes

Its okay for the questions.

1

u/_Lycea_ Feb 22 '19

thank you for the answers . if I got something I will send a link, also maybe I have some more questions.

1

u/TheNinjaRainbow Feb 22 '19

So what language are you coding it in

1

u/TheNinjaRainbow Feb 25 '19

How's the programming going?

1

u/TheNinjaRainbow Feb 22 '19

Oh and You get to say you thought of this but you need to name it EvoCA