Simple life alhoritm and planet game