Description Usage Arguments Value Examples
Fill up the specified location with water, if possible (which means the entry is not blocked). This is a helper function of percolate_fill
1 | percolate_step(board, i, j)
|
board |
A board with the latest board state. |
i |
Row index of the square to be percolated. |
j |
Column index of the square to be percolated. |
A board with the updated board state. An identical board will be returned if water could not be filled into the specified location on board.
1 | percolate_step(board(), 1, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.