Check Lines for the Win
Learn how can we check every possible winning combination across rows and columns of the board.
We'll cover the following...
What we have
We have defined the caller of this function. Here is its snap for ready reference.
Press + to interact
bool checkWin(char board[], char player) {if (checkWinLine(board, player) || checkWinDiagonal(board, player) == true) {return true;}else {return false;}}
Requirements of this module
The function ...