A Reference Class to represent the Board of a game
matrix
structure that supports basic vector indexing to store states of cells
shrink_counter
counts how many steps passed since the last time the board was shrinked
applyRule(rule)
Applies given rule to the boards matrix
plotBoard()
Plots board matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.