View source: R/othello_operation.R
check valid move one direction
1 | chk_valid_move_1d(df, row, col, x, y)
|
df |
board state |
row |
row of the piece |
col |
col of the piece |
x |
horizontal direction |
y |
vertical direction |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.