Build some complex chemical from Solar energy and found chemicals, similar reaction to photosynthesis https://en.m.wikipedia.org/wiki/Photosynthesis : 6 CO2 + 12 H2O -> C6H12O6 + 6 O2 + 6 H2O (to cut in different reactions).
Move to another place if enough (or not enough) of a given chemical in environment.
Reproduction in if enough of a given chemical in environment.
Build some complex chemical from Solar energy and found chemicals, similar reaction to photosynthesis https://en.m.wikipedia.org/wiki/Photosynthesis : 6 CO2 + 12 H2O -> C6H12O6 + 6 O2 + 6 H2O (to cut in different reactions).
Move to another place if enough (or not enough) of a given chemical in environment.
Reproduction in if enough of a given chemical in environment.