check for a winner
help-function that checks whether (at least) one of the four possibilities of winning is given
FieldWinCheck(field, player)
field |
matrix: the playing field. |
player |
integer: the current player. |
a boolean whether the player has won the match or not
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.