Game of Life

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 (2024). Game of Life (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Parallel Computing in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated license

Improve code for counting neighbors.

Minor change in preamble to separate author clause from help text.