Description Usage Arguments Value
help-function that checks whether (at least) one of the four possibilities of winning is given
1 | FieldWinCheck(field, player)
|
field |
matrix: the playing field. |
player |
integer: the current player. |
a boolean whether the player has won the match or not
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.