Used guides:
- What is CA https://natureofcode.com/book/chapter-7-cellular-automata/
- How to use SDL https://dev.to/noah11012/using-sdl2-drawing-rectangles-3hc2
Cellular automat in one dimension.
- X axis - CA state
- Y axis - time
- Use DOWN and UP for changing rule set (it resets state)
- Use RIGHT for generating new states last generation is initial state for the next one
Cellular automat in two dimensions. No time axis just life
- Use RIGHT for evaluating next states