group3.c
int g3_canMove(const struct connect4 *game, int i, int j) {
    if (g3_isOnBoard(i, j)) {
        if (g3_isOnBoard(i - 1, j) && game->board[i - 1][j] != EMPTY)
            return 1;
        if (!g3_isOnBoard(i - 1, j))
            return 1;
    }
    return 0;
}
//Checks to see if a move is a valid place to move
Checks to see if a move is a valid place to move
Checks to see if a move is a valid place to move
int g3_canMove(const struct connect4 *game, int i, int j) {
    if (g3_isOnBoard(i, j)) {
        if (g3_isOnBoard(i - 1, j) && game->board[i - 1][j] != EMPTY)
            return 1;
        if (!g3_isOnBoard(i - 1, j))
            return 1;
    }
    return 0;
}
int g3_canMove ( const struct connect4 * game , int i , int j ) { if ( g3_isOnBoard ( i , j ) ) { if ( g3_isOnBoard ( i - 1 , j ) && game -> board [ i - 1 ] [ j ] != EMPTY ) return 1 ; if ( ! g3_isOnBoard ( i - 1 , j ) ) return 1 ; } return 0 ; }
Checks to see if a move is a valid place to move
Checks to see if a move is a valid place to move