File Exchange

image thumbnail

Game of Life Conway with pattern generation

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

2 Downloads

Updated 22 Feb 2019

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 (2019). 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)

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

Updates

1.0.2

Small improvements

1.0.1

Fixed File Upload

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor