Problem 46663. Kaggle: Planetoid Game of Life - Variable Iterations for a wrapping array

Kaggle's Conway's Reverse Game of Life 2020 contest inspires this Life challenge. The kaggle contest runs from Oct-01-2020 thru Nov-30-2020. References: Game of Life at Wolfram. Wiki Life. The Kaggle event is 50K cases to solve for a state 1 to 5 iterations prior to a given state. Imperfect solutions are allowed but penalized. Input file to Kaggle is a csv so Matlab solutions can be posted at the Kaggle site for this event.
This Challenge is to Evolve a given 25x25 matrix for a given number(1 to 5) of iterations per these revised Life Laws.
1. Any live cell with fewer than two live neighbors dies, as if caused by under-population.
2. Any live cell with two or three live neighbors lives on to the next generation.
3. Any live cell with more than three live neighbors dies, as if by overcrowding.
4. Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.
5. Edges wrap around. Eight Neighbors. (Change to normal planar life)
Note: The edges wrap so the matrix represents the surface of a sphere.
Input: (A,iter) Initial state(25,25), number of iterations
Output: B the final evolved state

Solution Stats

81.82% Correct | 18.18% Incorrect
Last Solution submitted on Oct 17, 2022

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers5

Suggested Problems

More from this Author294

Community Treasure Hunt

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

Start Hunting!