Problem 46686. Kaggle: Planetoid Game of Life - Solve 3000 of 50000 Puzzles
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 Solve at least 3000 of the 50K puzzles 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: (mtest,numtosolve) the Finish state matrix of 50K rows of [casenumber, iterations, 625 values], number of case to solve (3000)
Output: (mstart) the Starting state matrix of at least 3000 puzzles all with perfect zero error solutions, [casenumber, 625 values]
Hint: There are 3726 trivial solutions where the Finish state is the Start state solution.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers3
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15511 Solvers
-
1758 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2969 Solvers
-
Make an N-dimensional Multiplication Table
127 Solvers
-
Back to basics 22 - Rotate a matrix
898 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!