private int checkForWinner(Board board) {
        for (int i = 0; i < board.getNoCols(); i++) {
            if (board.getLocationState(new Location(i, 0)) == LocationState.EMPTY) this.me.moveTo = i;
            else break;
            c4.takeTurn();
            if (c4.isWin(board)) {
                if (board.getLocationState(new Location(i, 0)) == LocationState.EMPTY) return i;
            }
            undoMove(board, i);
        }
        c4.nextPlayer();
        for (int i = 0; i < board.getNoCols(); i++) {
            if (board.getLocationState(new Location(i, 0)) == LocationState.EMPTY) this.other.moveTo = i;
            else break;
            c4.takeTurn();
            boolean isWin = c4.isWin(board);
            if (isWin) {
//                System.out.println("Master can win. Make a move at: " + (i + 1) + " to block");
                if (board.getLocationState(new Location(i, 0)) == LocationState.EMPTY) return i;
            }
            undoMove(board, i);
        }
        return -1;
    }