January 2019
Intermediate to advanced
236 pages
5h 41m
English
Your bounded grid, whether flat or a torus, doesn’t allow many patterns to emerge. To find more patterns, you really need an infinite grid. To achieve that, you need to change your data structure for tracking the cells’ state. You can try that extension yourself. Alternatively, you can browse an online catalogue for known patterns and even run their code to try to discover new patterns.[62]
You saw Langton’s ant earlier, and now you can try coding another CA. You can even make up your own rules and use a variety of colors for cells rather than only distinguishing between alive or dead:
Read now
Unlock full access