Description Usage Arguments Value Examples
Generate Board Matrix
1 | generate_board_mat(n = 5, p = 0.25)
|
n |
a positive integer of side length |
p |
proportion of blocked cells |
matrix representing the board
1 2 | generate_board_mat()
generate_board_mat(n = 8, p = 0.75)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.