Chapter 7 : Wolfram Elementary Cellular Automata and Game of Life #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces three new examples to Chapter 7, illustrating different implementations of cellular automata and the Game of Life. The changes include the addition of code for Wolfram Elementary Cellular Automata, a basic Game of Life, and an object-oriented approach to the Game of Life.
Wolfram Elementary Cellular Automata:
Example_7_1_Wolfram_Elementary_Cellular_Automata.pde
Game of Life:
Example_7_2_Game_of_Life.pde
to implement Game of Life using a 2D array.Object-Oriented Game of Life:
Cell.pde
to define theCell
class, which encapsulates the state and behavior of individual cells in the Game of Life.Example_7_3_Object_Oriented_Game_of_Life.pde
to implement Game of Life using an object-oriented approach, leveraging theCell
class.