0

I am trying to understand how to use CellularAutomaton function. For example, I am interested in the Game life and I found a working example here. However I cannot understand or find a detailed explanation about the rule syntax/format.

By the link I mentioned above, this rule is used:

gameOfLife = {224, {2, {{2, 2, 2}, {2, 1, 2}, {2, 2, 2}}}, {1, 1}};

What does it mean and how to understand it? I could not find any explanation except this link about Totalistic Cellular Automaton, but this explanation is still not clear.

I do not need to understand the whole generic rule syntax/format for now. First, I want to understand only game life.

Zlelik
  • 531
  • 2
  • 8
  • 2
    Have you read the documentation? – flinty Mar 18 '24 at 20:18
  • This one https://reference.wolfram.com/language/ref/CellularAutomaton.html I read of cause. If you are asking this question, looks like you did not read it yourself :) This is one of the explanations for the rule argument: "general nearest‐neighbor rule with k colors". Looks like the authors of the documentation assumed, that everyone already have a PhD in this topic. – Zlelik Mar 19 '24 at 17:53
  • Yes, it is. Thank you. – Zlelik Mar 20 '24 at 18:41

0 Answers0