Description Usage Arguments Value Author(s)
Updates the living and dead cells according to the Game of Life rules.
1 | update_board(board, torify = TRUE)
|
board |
An n^2 binary matrix with living cells indicated by 1s. |
torify |
Logical indicating whether the board should be wrapped up into a torus to prevent inconsistencies at the edges (defaults to |
An updated n^2 binary matrix with living cells indicated by 1s.
Alex Kalinka, alex.t.kalinka@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.