Consider the following code:
Column[ArrayPlot[{#}, ImageSize -> Medium] & /@ CellularAutomaton[30, {{1}, 0}, 20]]
It's a beginning ... have a look there CellularAutomaton Code Jam Wolfram Summer School 2015 or there Elementary CA models from a different method ? to go ahead with your ideas!