File Exchange

image thumbnail

Game of Life Conway with pattern generation

version 1.0.3 (4.36 KB) by Christoph Müßig
The famous game of life of Conway. Includes an automatic generation of start patterns from char arrays.

6 Downloads

Updated 02 Nov 2019

View Version History

View License

A simple function to simulate Conway's Game of Life in Matlab. The parameters include the size of the field, the title of the plot, the plot color, and a way to enable period detection. In addition, you can pass a char array to the function that is automatically processed to a start pattern with the help function Generate_Pattern.m. The preview image can be generated by the command "Game_of (100, 'Conway', 'Game of Life', 'r', 4)".

Cite As

Christoph Müßig (2021). Game of Life Conway with pattern generation (https://www.mathworks.com/matlabcentral/fileexchange/70316-game-of-life-conway-with-pattern-generation), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Christoph Müßig

With the char array 'GliderCannon' for the start pattern you can directly import the classic glider cannon.

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

Community Treasure Hunt

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

Start Hunting!