Game of Life

version (4.68 KB) by Cleve Moler
Game of Life with populations from the Life Lexicon


Updated 1 Sep 2016

View License

See Cleve's Corner Blog, Game of Life, 9/3/2012.
Life_lex starts with a population provided by a given matrix, with a named population from the Life Lexicon, or a random population from the Life Lexicon. It runs until a quit button is pressed, expanding the visible universe when necessary to encompass any expanding population and simulating an infinite universe and unbounded population. The Life Lexicon is downloaded from the Web and provides over 400 fascinating starting populations.

Cite As

Cleve Moler (2022). Game of Life (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!