core.typed game of life